Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001593/0.001593, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001925/0.001925, allocations: 215.8 kB / 23.01 MB, free: 4.602 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.313/3.313, allocations: 0.49 GB / 0.7958 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.003406/0.003406, allocations: 69.52 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3553, allocations: 176.1 MB / 1.327 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03035/0.3857, allocations: 23.5 MB / 1.35 GB, free: 9.836 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03128/0.4169, allocations: 18.18 MB / 1.368 GB, free: 7.598 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.421, allocations: 174.6 kB / 1.368 GB, free: 7.426 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0122/0.4332, allocations: 4.346 MB / 1.372 GB, free: 3.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.4459, allocations: 3.584 MB / 1.376 GB, free: 15.48 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004296/0.4502, allocations: 1.333 MB / 1.377 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0104/0.4606, allocations: 5.789 MB / 1.383 GB, free: 8.336 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00556/0.4662, allocations: 2.877 MB / 1.386 GB, free: 5.383 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006545/0.4727, allocations: 2.816 MB / 1.388 GB, free: 2.559 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005342/0.478, allocations: 2.327 MB / 1.391 GB, free: 228 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001621/0.4797, allocations: 364 kB / 1.391 GB, free: 15.86 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.4832, allocations: 1.053 MB / 1.392 GB, free: 14.81 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002024/0.4852, allocations: 1.215 MB / 1.393 GB, free: 13.59 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.003851/0.4891, allocations: 1.982 MB / 1.395 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008167/0.4972, allocations: 5.16 MB / 1.4 GB, free: 6.422 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4972, allocations: 0 / 1.4 GB, free: 6.422 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4972, allocations: 4 kB / 1.4 GB, free: 6.418 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001646/0.4974, allocations: 0 / 1.4 GB, free: 6.418 MB / 1.092 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.01268/0.5101, allocations: 4.644 MB / 1.405 GB, free: 1.676 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5101, allocations: 8.031 kB / 1.405 GB, free: 1.668 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.5264, allocations: 3.279 MB / 1.408 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005766/0.5322, allocations: 2.155 MB / 1.41 GB, free: 12.15 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004947/0.5327, allocations: 466.3 kB / 1.41 GB, free: 11.63 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007125/0.5334, allocations: 239.9 kB / 1.411 GB, free: 11.4 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/0.5451, allocations: 4.71 MB / 1.415 GB, free: 6.594 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.5451, allocations: 3.938 kB / 1.415 GB, free: 6.59 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000339/0.5454, allocations: 108 kB / 1.415 GB, free: 6.484 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/0.5457, allocations: 168.8 kB / 1.415 GB, free: 6.316 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.56, allocations: 5.198 MB / 1.421 GB, free: 1.102 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.5872, allocations: 14.34 MB / 1.435 GB, free: 1.578 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5974, allocations: 3.25 MB / 1.438 GB, free: 14.31 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/0.6018, allocations: 1.373 MB / 1.439 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.602, allocations: 21.3 kB / 1.439 GB, free: 12.92 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00492/0.6069, allocations: 1.79 MB / 1.441 GB, free: 11.06 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 5.41e-06/0.6069, allocations: 0 / 1.441 GB, free: 11.06 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.125/0.732, allocations: 27.55 MB / 1.468 GB, free: 15.46 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003507/0.7323, allocations: 0.4966 MB / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003716/0.736, allocations: 2.304 MB / 1.47 GB, free: 12.54 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004987/0.7365, allocations: 77.7 kB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.738, allocations: 1.444 MB / 1.472 GB, free: 11 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.7391, allocations: 0.8714 MB / 1.473 GB, free: 10.12 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009134/0.74, allocations: 416.5 kB / 1.473 GB, free: 9.703 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7402, allocations: 301.1 kB / 1.474 GB, free: 9.406 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005266/0.7455, allocations: 1.929 MB / 1.475 GB, free: 7.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005675/0.7511, allocations: 2.227 MB / 1.478 GB, free: 5.16 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.7621, allocations: 4.169 MB / 1.482 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.7621, allocations: 4 kB / 1.482 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01939/0.7815, allocations: 6.474 MB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/0.7816, allocations: 148.5 kB / 1.488 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.7817, allocations: 8 kB / 1.488 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.7921, allocations: 2.921 MB / 1.491 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.7951, allocations: 495.2 kB / 1.491 GB, free: 6.691 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04244/0.8375, allocations: 18.65 MB / 1.51 GB, free: 3.84 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/0.8417, allocations: 323.6 kB / 1.51 GB, free: 3.523 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003914/0.842, allocations: 87.97 kB / 1.51 GB, free: 3.438 MB / 1.201 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.001662/0.8437, allocations: 0.7119 MB / 1.511 GB, free: 2.719 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007345/0.8444, allocations: 349.9 kB / 1.511 GB, free: 2.375 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.8453, allocations: 384.1 kB / 1.511 GB, free: 1.992 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.8453, allocations: 24 kB / 1.511 GB, free: 1.969 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-05/0.8454, allocations: 12 kB / 1.511 GB, free: 1.957 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/0.8454, allocations: 15.94 kB / 1.511 GB, free: 1.941 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.8507, allocations: 3.596 MB / 1.515 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8507, allocations: 0 / 1.515 GB, free: 14.3 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002468/0.8532, allocations: 419.3 kB / 1.515 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009948/0.8632, allocations: 2.867 MB / 1.518 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004299/0.8636, allocations: 51.97 kB / 1.518 GB, free: 10.96 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04119/0.9048, allocations: 18.42 MB / 1.536 GB, free: 8.289 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.9048, allocations: 0.5625 kB / 1.536 GB, free: 8.289 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/0.9232, allocations: 6.124 MB / 1.542 GB, free: 2.137 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002484/0.9257, allocations: 0.6304 MB / 1.543 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008588/0.9266, allocations: 47.94 kB / 1.543 GB, free: 1.457 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/0.93, allocations: 319.6 kB / 1.543 GB, free: 1.145 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/0.9313, allocations: 358.5 kB / 1.544 GB, free: 0.793 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/0.9315, allocations: 79.84 kB / 1.544 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002693/0.9342, allocations: 1.528 MB / 1.545 GB, free: 15.19 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9342, allocations: 0 / 1.545 GB, free: 15.19 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003841/0.9381, allocations: 1.047 MB / 1.546 GB, free: 14.14 MB / 1.248 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.0004964/0.9386, allocations: 167.1 kB / 1.546 GB, free: 13.96 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02374/0.9623, allocations: 6.316 MB / 1.552 GB, free: 7.555 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.9623, allocations: 4 kB / 1.552 GB, free: 7.551 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01729/0.9796, allocations: 3.916 MB / 1.556 GB, free: 3.605 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005421/0.985, allocations: 1.138 MB / 1.557 GB, free: 2.508 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.002, allocations: 7.024 MB / 1.564 GB, free: 11.45 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002501/1.004, allocations: 2.231 MB / 1.566 GB, free: 9.18 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.006, allocations: 199.4 kB / 1.567 GB, free: 8.984 MB / 1.264 GB Notification: Performance of SimCode: time 1.974e-06/1.006, allocations: 0 / 1.567 GB, free: 8.984 MB / 1.264 GB Notification: Performance of Templates: time 0.8328/1.839, allocations: 80.27 MB / 1.645 GB, free: 247.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 25.870931284996914] Failed to read output from testmodel.py, exit status != 0: 1.8497974810015876 1.858519789 1.3585332639999999 Calling exit ...