Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001339/0.001339, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001532/0.001532, allocations: 212.5 kB / 22.99 MB, free: 4.945 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.411/3.411, allocations: 0.5107 GB / 0.8166 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Buildings 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.002127/0.002127, allocations: 78.98 kB / 1.187 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3741, allocations: 181.9 MB / 1.365 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02966/0.4038, allocations: 21.26 MB / 1.385 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03008/0.4338, allocations: 16.86 MB / 1.402 GB, free: 7.484 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003677/0.4375, allocations: 166.7 kB / 1.402 GB, free: 7.32 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01236/0.4499, allocations: 4.162 MB / 1.406 GB, free: 3.148 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0121/0.462, allocations: 3.588 MB / 1.41 GB, free: 15.55 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00406/0.466, allocations: 1.312 MB / 1.411 GB, free: 14.24 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.009667/0.4757, allocations: 5.793 MB / 1.417 GB, free: 8.426 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005436/0.4811, allocations: 2.822 MB / 1.419 GB, free: 5.527 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005892/0.487, allocations: 2.827 MB / 1.422 GB, free: 2.691 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004819/0.4918, allocations: 2.151 MB / 1.424 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009023/0.4928, allocations: 364 kB / 1.424 GB, free: 180 kB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.4953, allocations: 0.9478 MB / 1.425 GB, free: 15.22 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.4966, allocations: 1.222 MB / 1.427 GB, free: 14 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.4992, allocations: 1.629 MB / 1.428 GB, free: 12.36 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00711/0.5063, allocations: 5.191 MB / 1.433 GB, free: 7.152 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5063, allocations: 0 / 1.433 GB, free: 7.152 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5063, allocations: 0 / 1.433 GB, free: 7.152 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001651/0.5064, allocations: 4 kB / 1.433 GB, free: 7.148 MB / 1.123 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.01179/0.5182, allocations: 4.648 MB / 1.438 GB, free: 2.402 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5183, allocations: 8.031 kB / 1.438 GB, free: 2.395 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01609/0.5344, allocations: 3.283 MB / 1.441 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005753/0.5401, allocations: 2.151 MB / 1.443 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004901/0.5406, allocations: 466.3 kB / 1.444 GB, free: 12.36 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007493/0.5414, allocations: 235.9 kB / 1.444 GB, free: 12.13 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.5535, allocations: 5.375 MB / 1.449 GB, free: 6.5 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.903e-05/0.5536, allocations: 0 / 1.449 GB, free: 6.5 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003424/0.5539, allocations: 104 kB / 1.449 GB, free: 6.398 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.5541, allocations: 168.8 kB / 1.449 GB, free: 6.23 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.5683, allocations: 5.198 MB / 1.454 GB, free: 1.016 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02128/0.5895, allocations: 8.756 MB / 1.463 GB, free: 8.141 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009903/0.5994, allocations: 3.247 MB / 1.466 GB, free: 4.887 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003848/0.6033, allocations: 1.377 MB / 1.467 GB, free: 3.508 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.6034, allocations: 21.25 kB / 1.467 GB, free: 3.488 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004839/0.6082, allocations: 2.447 MB / 1.47 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of pre-optimization done (n=163): time 4.458e-06/0.6083, allocations: 0 / 1.47 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of matching and sorting (n=250): time 0.133/0.7413, allocations: 27.51 MB / 1.497 GB, free: 5.25 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003217/0.7416, allocations: 0.4928 MB / 1.497 GB, free: 4.648 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00318/0.7448, allocations: 1.998 MB / 1.499 GB, free: 2.637 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0005085/0.7453, allocations: 73.7 kB / 1.499 GB, free: 2.559 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.7467, allocations: 1.469 MB / 1.501 GB, free: 1.078 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001083/0.7478, allocations: 0.8637 MB / 1.502 GB, free: 212 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008955/0.7487, allocations: 420.6 kB / 1.502 GB, free: 15.79 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7488, allocations: 309.1 kB / 1.502 GB, free: 15.48 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005532/0.7544, allocations: 2.066 MB / 1.504 GB, free: 13.38 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/0.7605, allocations: 2.766 MB / 1.507 GB, free: 10.4 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.772, allocations: 4.165 MB / 1.511 GB, free: 6.098 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/0.7721, allocations: 4 kB / 1.511 GB, free: 6.094 MB / 1.201 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01962/0.7917, allocations: 6.584 MB / 1.517 GB, free: 15.39 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.7918, allocations: 148.5 kB / 1.518 GB, free: 15.21 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.7918, allocations: 11.94 kB / 1.518 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/0.8022, allocations: 2.925 MB / 1.52 GB, free: 12.27 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/0.8052, allocations: 491.2 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04174/0.8469, allocations: 18.21 MB / 1.539 GB, free: 9.414 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004235/0.8512, allocations: 323.6 kB / 1.539 GB, free: 9.098 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004277/0.8516, allocations: 91.97 kB / 1.539 GB, free: 9.008 MB / 1.232 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.001666/0.8533, allocations: 0.6985 MB / 1.54 GB, free: 8.301 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007371/0.854, allocations: 318 kB / 1.54 GB, free: 7.988 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.8548, allocations: 365.2 kB / 1.54 GB, free: 7.621 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.8548, allocations: 24 kB / 1.54 GB, free: 7.598 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.667e-05/0.8549, allocations: 8 kB / 1.54 GB, free: 7.59 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.8549, allocations: 11.95 kB / 1.54 GB, free: 7.578 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004405/0.8593, allocations: 2.724 MB / 1.543 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.8593, allocations: 4 kB / 1.543 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/0.8618, allocations: 411.3 kB / 1.544 GB, free: 4.414 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/0.872, allocations: 2.871 MB / 1.546 GB, free: 1.527 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005165/0.8725, allocations: 51.97 kB / 1.546 GB, free: 1.477 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04099/0.9135, allocations: 17.98 MB / 1.564 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9135, allocations: 0 / 1.564 GB, free: 15.28 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01873/0.9322, allocations: 6.079 MB / 1.57 GB, free: 9.18 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002312/0.9346, allocations: 0.5993 MB / 1.57 GB, free: 8.578 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006245/0.9352, allocations: 59.91 kB / 1.571 GB, free: 8.52 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/0.9385, allocations: 315.6 kB / 1.571 GB, free: 8.211 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/0.9397, allocations: 362.5 kB / 1.571 GB, free: 7.855 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002109/0.94, allocations: 71.97 kB / 1.571 GB, free: 7.785 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002099/0.9421, allocations: 1.316 MB / 1.573 GB, free: 6.461 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.9421, allocations: 0 / 1.573 GB, free: 6.461 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003002/0.9451, allocations: 1.031 MB / 1.574 GB, free: 5.43 MB / 1.264 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.0003894/0.9454, allocations: 167.6 kB / 1.574 GB, free: 5.254 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02358/0.969, allocations: 6.458 MB / 1.58 GB, free: 14.67 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.969, allocations: 4 kB / 1.58 GB, free: 14.67 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01755/0.9866, allocations: 3.923 MB / 1.584 GB, free: 10.71 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/0.9912, allocations: 1.028 MB / 1.585 GB, free: 9.723 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.007, allocations: 6.981 MB / 1.592 GB, free: 2.703 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002097/1.009, allocations: 1.683 MB / 1.593 GB, free: 0.9766 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/1.01, allocations: 191.4 kB / 1.593 GB, free: 0.7891 MB / 1.279 GB Notification: Performance of SimCode: time 1.793e-06/1.01, allocations: 4 kB / 1.593 GB, free: 0.7852 MB / 1.279 GB Notification: Performance of Templates: time 0.8212/1.831, allocations: 79.66 MB / 1.671 GB, free: 202.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 23.565987026318908] Failed to read output from testmodel.py, exit status != 0: 1.8408071789890528 1.851192158 1.3422790439999999 Calling exit ...