Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 476.7 MB / 0.7617 GB, free: 15.73 MB / 0.6075 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 63.89 kB / 1.105 GB, free: 6.074 MB / 0.8419 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 168.7 MB / 1.27 GB, free: 8.227 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02595/1.065, allocations: 22.95 MB / 1.292 GB, free: 8.512 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.03028/1.096, allocations: 17.79 MB / 1.31 GB, free: 12.18 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004283/1.1, allocations: 115 kB / 1.31 GB, free: 12.14 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.01215/1.112, allocations: 4.224 MB / 1.314 GB, free: 9.633 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.01365/1.126, allocations: 3.577 MB / 1.317 GB, free: 7.473 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004884/1.13, allocations: 1.312 MB / 1.319 GB, free: 6.785 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.0115/1.142, allocations: 5.78 MB / 1.324 GB, free: 4.082 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005691/1.148, allocations: 2.799 MB / 1.327 GB, free: 2.672 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006243/1.154, allocations: 2.487 MB / 1.329 GB, free: 1.625 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007008/1.161, allocations: 2.511 MB / 1.332 GB, free: 0.5547 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 0.001982/1.163, allocations: 369.8 kB / 1.332 GB, free: 0.5547 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004421/1.167, allocations: 1.047 MB / 1.333 GB, free: 300 kB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 0.002518/1.17, allocations: 1.228 MB / 1.335 GB, free: 15.66 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.005688/1.176, allocations: 1.994 MB / 1.336 GB, free: 14.45 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.01195/1.187, allocations: 5.186 MB / 1.342 GB, free: 12.52 MB / 1.045 GB
Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.187, allocations: 0 / 1.342 GB, free: 12.52 MB / 1.045 GB
Notification: Performance of FrontEnd: time 1.854e-06/1.187, allocations: 7.875 kB / 1.342 GB, free: 12.52 MB / 1.045 GB
Notification: Performance of Transformations before backend: time 0.000203/1.188, allocations: 0 / 1.342 GB, free: 12.52 MB / 1.045 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.01513/1.203, allocations: 4.723 MB / 1.346 GB, free: 9.641 MB / 1.045 GB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.203, allocations: 13.53 kB / 1.346 GB, free: 9.637 MB / 1.045 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/1.22, allocations: 3.282 MB / 1.349 GB, free: 8.129 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006326/1.226, allocations: 2.249 MB / 1.352 GB, free: 6.527 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005338/1.227, allocations: 471.2 kB / 1.352 GB, free: 6.117 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/1.228, allocations: 234.7 kB / 1.352 GB, free: 6.039 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/1.24, allocations: 4.81 MB / 1.357 GB, free: 3.191 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/1.24, allocations: 5.312 kB / 1.357 GB, free: 3.188 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/1.241, allocations: 109.7 kB / 1.357 GB, free: 3.105 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/1.241, allocations: 168.4 kB / 1.357 GB, free: 3.066 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/1.256, allocations: 5.194 MB / 1.362 GB, free: 460 kB / 1.045 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02946/1.286, allocations: 14.41 MB / 1.376 GB, free: 3.953 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.297, allocations: 3.258 MB / 1.38 GB, free: 2.297 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004318/1.301, allocations: 1.381 MB / 1.381 GB, free: 1.594 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/1.302, allocations: 29.28 kB / 1.381 GB, free: 1.578 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005094/1.307, allocations: 1.798 MB / 1.383 GB, free: 472 kB / 1.061 GB
Notification: Performance of pre-optimization done (n=163): time 6.632e-06/1.307, allocations: 1.281 kB / 1.383 GB, free: 472 kB / 1.061 GB
Notification: Performance of matching and sorting (n=250): time 0.1425/1.449, allocations: 28.21 MB / 1.41 GB, free: 4.152 MB / 1.092 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003328/1.45, allocations: 0.4928 MB / 1.411 GB, free: 3.551 MB / 1.092 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/1.454, allocations: 2.296 MB / 1.413 GB, free: 1.242 MB / 1.092 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006697/1.455, allocations: 81.69 kB / 1.413 GB, free: 1.156 MB / 1.092 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001729/1.457, allocations: 1.452 MB / 1.414 GB, free: 15.69 MB / 1.107 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.458, allocations: 0.8598 MB / 1.415 GB, free: 14.82 MB / 1.107 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/1.459, allocations: 420.5 kB / 1.416 GB, free: 14.4 MB / 1.107 GB
Notification: Performance of setup shared object (initialization): time 0.0001481/1.46, allocations: 305.1 kB / 1.416 GB, free: 14.1 MB / 1.107 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.006185/1.466, allocations: 1.929 MB / 1.418 GB, free: 12.17 MB / 1.107 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006523/1.472, allocations: 2.23 MB / 1.42 GB, free: 9.855 MB / 1.107 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/1.485, allocations: 4.165 MB / 1.424 GB, free: 5.555 MB / 1.107 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/1.485, allocations: 0 / 1.424 GB, free: 5.555 MB / 1.107 GB
Notification: Performance of matching and sorting (n=299) (initialization): time 0.0283/1.513, allocations: 6.478 MB / 1.43 GB, free: 14.99 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001702/1.513, allocations: 148.5 kB / 1.431 GB, free: 14.81 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.513, allocations: 7.938 kB / 1.431 GB, free: 14.8 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/1.525, allocations: 2.93 MB / 1.433 GB, free: 11.87 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/1.528, allocations: 487.2 kB / 1.434 GB, free: 11.39 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04661/1.575, allocations: 18.85 MB / 1.452 GB, free: 8.277 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00502/1.58, allocations: 323.6 kB / 1.453 GB, free: 7.961 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006771/1.581, allocations: 87.97 kB / 1.453 GB, free: 7.875 MB / 1.139 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.002449/1.583, allocations: 0.711 MB / 1.453 GB, free: 7.156 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/1.584, allocations: 353.8 kB / 1.454 GB, free: 6.809 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.586, allocations: 380.1 kB / 1.454 GB, free: 6.43 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/1.586, allocations: 24 kB / 1.454 GB, free: 6.406 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-05/1.586, allocations: 8 kB / 1.454 GB, free: 6.398 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-05/1.586, allocations: 11.95 kB / 1.454 GB, free: 6.387 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007591/1.593, allocations: 3.636 MB / 1.458 GB, free: 2.695 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/1.593, allocations: 0 / 1.458 GB, free: 2.695 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.596, allocations: 419.3 kB / 1.458 GB, free: 2.285 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/1.608, allocations: 2.868 MB / 1.461 GB, free: 15.41 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005958/1.608, allocations: 47.97 kB / 1.461 GB, free: 15.36 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04608/1.654, allocations: 18.63 MB / 1.479 GB, free: 12.43 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.654, allocations: 160 / 1.479 GB, free: 12.43 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02157/1.676, allocations: 6.108 MB / 1.485 GB, free: 6.297 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002485/1.678, allocations: 0.7218 MB / 1.486 GB, free: 5.555 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.68, allocations: 51.94 kB / 1.486 GB, free: 5.504 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004251/1.684, allocations: 315.6 kB / 1.486 GB, free: 5.195 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/1.685, allocations: 354.7 kB / 1.486 GB, free: 4.848 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003697/1.686, allocations: 67.97 kB / 1.487 GB, free: 4.781 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.003218/1.689, allocations: 1.536 MB / 1.488 GB, free: 3.246 MB / 1.17 GB
Notification: Performance of sort global known variables: time 9e-08/1.689, allocations: 7.875 kB / 1.488 GB, free: 3.238 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.004526/1.693, allocations: 1.039 MB / 1.489 GB, free: 2.199 MB / 1.17 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.0006073/1.694, allocations: 173.9 kB / 1.489 GB, free: 2.023 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.02545/1.72, allocations: 6.32 MB / 1.495 GB, free: 11.61 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.72, allocations: 4 kB / 1.495 GB, free: 11.61 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.01942/1.739, allocations: 3.923 MB / 1.499 GB, free: 7.652 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007647/1.747, allocations: 1.127 MB / 1.5 GB, free: 6.562 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/1.765, allocations: 6.988 MB / 1.507 GB, free: 15.54 MB / 1.201 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003057/1.768, allocations: 2.235 MB / 1.509 GB, free: 13.27 MB / 1.201 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/1.77, allocations: 203.4 kB / 1.51 GB, free: 13.07 MB / 1.201 GB
Notification: Performance of SimCode: time 1.413e-06/1.77, allocations: 0 / 1.51 GB, free: 13.07 MB / 1.201 GB
Notification: Performance of Templates: time 0.1192/1.889, allocations: 80.37 MB / 1.588 GB, free: 13.02 MB / 1.279 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400]
[Calling os._exit(0), Time elapsed: 23.768047774909064]
Failed to read output from testmodel.py, exit status != 0:
1.898359770188108 1.911469015 0.720856022
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3f7476a050>