Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 219 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002463/0.002463, allocations: 289.7 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.172/1.172, allocations: 180.6 MB / 0.5369 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 103.4 kB / 0.7396 GB, free: 28.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1658, allocations: 95.38 MB / 0.8328 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02827/0.194, allocations: 23.49 MB / 0.8557 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02783/0.2219, allocations: 18.19 MB / 0.8735 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.2249, allocations: 150.8 kB / 0.8736 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01156/0.2365, allocations: 4.352 MB / 0.8779 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01162/0.2481, allocations: 3.6 MB / 0.8814 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003751/0.2519, allocations: 1.335 MB / 0.8827 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009069/0.2609, allocations: 5.801 MB / 0.8883 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004487/0.2654, allocations: 2.877 MB / 0.8912 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.2698, allocations: 2.523 MB / 0.8936 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004982/0.2748, allocations: 2.514 MB / 0.8961 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008595/0.2756, allocations: 372 kB / 0.8964 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002343/0.278, allocations: 1.057 MB / 0.8975 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.2792, allocations: 1.222 MB / 0.8987 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.2818, allocations: 2.002 MB / 0.9006 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006739/0.2885, allocations: 5.203 MB / 0.9057 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2885, allocations: 0 / 0.9057 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2885, allocations: 0 / 0.9057 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001213/0.2886, allocations: 0 / 0.9057 GB, free: 13.64 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01046/0.2991, allocations: 4.658 MB / 0.9102 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2992, allocations: 9.344 kB / 0.9102 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004986/0.2997, allocations: 362.3 kB / 0.9106 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/0.3153, allocations: 3.283 MB / 0.9138 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005202/0.3206, allocations: 2.143 MB / 0.9159 GB, free: 3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.321, allocations: 470 kB / 0.9163 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005569/0.3215, allocations: 239.9 kB / 0.9166 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.3322, allocations: 4.818 MB / 0.9213 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.3323, allocations: 0 / 0.9213 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003075/0.3326, allocations: 112 kB / 0.9214 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.3328, allocations: 168.8 kB / 0.9215 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.346, allocations: 5.194 MB / 0.9266 GB, free: 7.789 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02368/0.3697, allocations: 14.34 MB / 0.9406 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009456/0.3791, allocations: 3.263 MB / 0.9438 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003678/0.3828, allocations: 1.373 MB / 0.9451 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.3829, allocations: 21.3 kB / 0.9452 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004184/0.3871, allocations: 1.79 MB / 0.9469 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.216e-06/0.3871, allocations: 0 / 0.9469 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1247/0.5118, allocations: 27.54 MB / 0.9738 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003112/0.5121, allocations: 0.4889 MB / 0.9743 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.5155, allocations: 2.3 MB / 0.9765 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004651/0.516, allocations: 81.64 kB / 0.9766 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.5173, allocations: 1.46 MB / 0.978 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009676/0.5183, allocations: 0.8559 MB / 0.9789 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008498/0.5191, allocations: 420.5 kB / 0.9793 GB, free: 424 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5193, allocations: 305.1 kB / 0.9796 GB, free: 116 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3745/0.8937, allocations: 1.922 MB / 0.9814 GB, free: 134.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/0.8991, allocations: 2.232 MB / 0.9836 GB, free: 134.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009324/0.9085, allocations: 4.165 MB / 0.9877 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.9085, allocations: 2.625 kB / 0.9877 GB, free: 132.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01907/0.9275, allocations: 6.467 MB / 0.994 GB, free: 130.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.203e-05/0.9276, allocations: 160 kB / 0.9942 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.9276, allocations: 5.656 kB / 0.9942 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0095/0.9371, allocations: 2.928 MB / 0.997 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.94, allocations: 492.4 kB / 0.9975 GB, free: 130 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03399/0.974, allocations: 18.65 MB / 1.016 GB, free: 120.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/0.9777, allocations: 323.9 kB / 1.016 GB, free: 120.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.978, allocations: 87.75 kB / 1.016 GB, free: 120.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001259/0.9792, allocations: 0.7061 MB / 1.017 GB, free: 119.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004724/0.9797, allocations: 354.1 kB / 1.017 GB, free: 119.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006246/0.9803, allocations: 388.4 kB / 1.017 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.9803, allocations: 26.56 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/0.9804, allocations: 7.094 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.9804, allocations: 15.48 kB / 1.018 GB, free: 119.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00334/0.9837, allocations: 3.61 MB / 1.021 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.9837, allocations: 0 / 1.021 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002161/0.9859, allocations: 418.1 kB / 1.021 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008159/0.9941, allocations: 2.871 MB / 1.024 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.9943, allocations: 47.97 kB / 1.024 GB, free: 112.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03143/1.026, allocations: 18.42 MB / 1.042 GB, free: 94.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.026, allocations: 0 / 1.042 GB, free: 94.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/1.041, allocations: 6.112 MB / 1.048 GB, free: 88.08 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001904/1.043, allocations: 0.637 MB / 1.049 GB, free: 87.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005939/1.043, allocations: 56.8 kB / 1.049 GB, free: 87.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/1.046, allocations: 315.6 kB / 1.049 GB, free: 87.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001012/1.047, allocations: 362.5 kB / 1.05 GB, free: 86.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.048, allocations: 67.97 kB / 1.05 GB, free: 86.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001663/1.049, allocations: 1.54 MB / 1.051 GB, free: 85.12 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 0 / 1.051 GB, free: 85.12 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002357/1.052, allocations: 1.047 MB / 1.052 GB, free: 84.08 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01533/1.067, allocations: 6.741 MB / 1.059 GB, free: 77.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02095/1.088, allocations: 6.309 MB / 1.065 GB, free: 70.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.088, allocations: 0 / 1.065 GB, free: 70.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/1.103, allocations: 3.928 MB / 1.069 GB, free: 66.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/1.107, allocations: 1.146 MB / 1.07 GB, free: 65.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05969/1.167, allocations: 31.83 MB / 1.101 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/1.168, allocations: 2.238 MB / 1.103 GB, free: 31.36 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001953/1.17, allocations: 0.5057 MB / 1.104 GB, free: 30.85 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/1.172, allocations: 1.343 MB / 1.105 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/1.172, allocations: 0 / 1.105 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2148/1.386, allocations: 105.9 MB / 1.208 GB, free: 4.758 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.54/20.92, allocations: 0 / 1.208 GB, free: 4.758 MB / 0.795 GB " [Timeout remaining time 639] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 BuildingSystems_BuildingSystems_Electrical_DC_Lines_Examples_DCLinesLinearized.fmu > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 25.280585810000048] Failed to read output from testmodel.py, exit status != 0: 21.127304587000253 21.149779223 20.857022254 Calling exit ...