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.0009548/0.0009548, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001005/0.001005, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 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.067/1.067, allocations: 177.1 MB / 203.8 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] 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.002373/0.002373, allocations: 247 kB / 260.5 MB, free: 12.66 MB / 250.7 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 0.767/0.767, allocations: 138.4 MB / 402.2 MB, free: 0.5 MB / 362.7 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: translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 462.4 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.126e-05/3.316e-05, allocations: 6.828 kB / 462.4 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01196/0.012, allocations: 15.05 MB / 477.4 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.02594, allocations: 12.83 MB / 490.3 MB, free: 6.703 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.02758, allocations: 150.8 kB / 490.4 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.029, allocations: 0.7364 MB / 491.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005502/0.0345, allocations: 3.247 MB / 494.4 MB, free: 2.598 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.03651, allocations: 1.314 MB / 495.7 MB, free: 1.305 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005411/0.04193, allocations: 5.975 MB / 0.4899 GB, free: 11.32 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/0.04498, allocations: 2.954 MB / 0.4928 GB, free: 8.273 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.04914, allocations: 3.673 MB / 0.4964 GB, free: 4.602 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.05136, allocations: 1.984 MB / 0.4983 GB, free: 2.625 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004665/0.05183, allocations: 368 kB / 0.4987 GB, free: 2.266 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006773/0.05251, allocations: 443.8 kB / 0.4991 GB, free: 1.832 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007558/0.05326, allocations: 1.282 MB / 0.5003 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001205/0.05447, allocations: 1.38 MB / 0.5017 GB, free: 15.16 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.05676, allocations: 3.076 MB / 0.5047 GB, free: 12.08 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.05676, allocations: 0.5625 kB / 0.5047 GB, free: 12.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.05677, allocations: 0 / 0.5047 GB, free: 12.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.258e-05/0.05681, allocations: 1.188 kB / 0.5047 GB, free: 12.08 MB / 474.7 MB 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.004275/0.06108, allocations: 4.351 MB / 0.509 GB, free: 7.664 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.06111, allocations: 13.31 kB / 0.509 GB, free: 7.652 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.06627, allocations: 2.022 MB / 0.5109 GB, free: 5.668 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.06844, allocations: 1.834 MB / 0.5127 GB, free: 3.746 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.06868, allocations: 466.3 kB / 0.5132 GB, free: 3.227 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/0.06897, allocations: 245.7 kB / 0.5134 GB, free: 2.988 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003228/0.0722, allocations: 3.242 MB / 0.5166 GB, free: 15.49 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.07224, allocations: 7.938 kB / 0.5166 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.07243, allocations: 112 kB / 0.5167 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/0.07257, allocations: 168.8 kB / 0.5168 GB, free: 15.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.07395, allocations: 0.9765 MB / 0.5178 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.08122, allocations: 5.753 MB / 0.5234 GB, free: 8.375 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.08361, allocations: 1.615 MB / 0.525 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006287/0.08424, allocations: 385 kB / 0.5254 GB, free: 6.398 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.99e-05/0.08433, allocations: 25.31 kB / 0.5254 GB, free: 6.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.08566, allocations: 1.534 MB / 0.5269 GB, free: 4.613 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 4.198e-06/0.08567, allocations: 0.6562 kB / 0.5269 GB, free: 4.613 MB / 490.7 MB Notification: Performance of matching and sorting (n=163): time 0.008164/0.09383, allocations: 3.332 MB / 0.5301 GB, free: 1.273 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/0.09401, allocations: 495.9 kB / 0.5306 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.09553, allocations: 1.695 MB / 0.5323 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.09566, allocations: 61.7 kB / 0.5323 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.0963, allocations: 1.039 MB / 0.5333 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.0967, allocations: 0.5576 MB / 0.5339 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005083/0.09721, allocations: 303.2 kB / 0.5342 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.09728, allocations: 301.1 kB / 0.5345 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.09789, allocations: 413.3 kB / 0.5349 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008891/0.09877, allocations: 1.058 MB / 0.5359 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.1001, allocations: 1.03 MB / 0.5369 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.1001, allocations: 0 / 0.5369 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.003444/0.1036, allocations: 1.916 MB / 0.5388 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/0.1037, allocations: 148.5 kB / 0.5389 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.1037, allocations: 4 kB / 0.5389 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/0.1072, allocations: 1.237 MB / 0.5401 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.1084, allocations: 335.5 kB / 0.5404 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009486/0.1179, allocations: 4.825 MB / 0.5452 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.1192, allocations: 256.3 kB / 0.5454 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/0.1194, allocations: 52.47 kB / 0.5454 GB, free: 0.9648 MB / 0.4948 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 (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0005709/0.1199, allocations: 226.3 kB / 0.5457 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.1203, allocations: 223.7 kB / 0.5459 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.1206, allocations: 306.3 kB / 0.5462 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.1206, allocations: 16 kB / 0.5462 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1206, allocations: 1.359 kB / 0.5462 GB, free: 200 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.1206, allocations: 9.156 kB / 0.5462 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.1223, allocations: 1.206 MB / 0.5474 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.1223, allocations: 0 / 0.5474 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.1233, allocations: 243.6 kB / 0.5476 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/0.1267, allocations: 1.195 MB / 0.5488 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.1268, allocations: 31.97 kB / 0.5488 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009085/0.1359, allocations: 4.666 MB / 0.5534 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1359, allocations: 0 / 0.5534 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/0.139, allocations: 1.536 MB / 0.5549 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006966/0.1397, allocations: 361.8 kB / 0.5552 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.14, allocations: 36.61 kB / 0.5552 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.141, allocations: 155.8 kB / 0.5554 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/0.1415, allocations: 221.6 kB / 0.5556 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000119/0.1416, allocations: 39.97 kB / 0.5556 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008584/0.1425, allocations: 0.8922 MB / 0.5565 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1425, allocations: 0 / 0.5565 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001689/0.1441, allocations: 0.9747 MB / 0.5575 GB, free: 4.5 MB / 0.5105 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 (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000225/0.1444, allocations: 124.3 kB / 0.5576 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003664/0.148, allocations: 2.249 MB / 0.5598 GB, free: 2.023 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.501e-05/0.1481, allocations: 32.69 kB / 0.5598 GB, free: 1.992 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.1507, allocations: 1.415 MB / 0.5612 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.1527, allocations: 1.052 MB / 0.5622 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005877/0.1585, allocations: 4.868 MB / 0.567 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.1591, allocations: 0.6655 MB / 0.5676 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009568/0.16, allocations: 338.7 kB / 0.5679 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/0.1616, allocations: 0.8152 MB / 0.5687 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/0.1616, allocations: 0 / 0.5687 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of Templates: time 0.08204/0.2436, allocations: 58.3 MB / 0.6257 GB, free: 15.8 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.959355288185179]