Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00141/0.00141, allocations: 80.22 kB / 20.94 MB, free: 3.605 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.001688/0.001688, allocations: 169 kB / 24.25 MB, free: 308 kB / 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.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6279/0.6279, allocations: 115 MB / 376 MB, free: 7.652 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.818e-05, allocations: 3.078 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01895/0.01898, allocations: 22.79 MB / 0.4925 GB, free: 13.81 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02286/0.04184, allocations: 17.84 MB / 0.5099 GB, free: 15.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003735/0.04557, allocations: 171.5 kB / 0.5101 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006606/0.05218, allocations: 4.288 MB / 0.5143 GB, free: 11.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.06285, allocations: 3.696 MB / 0.5179 GB, free: 7.582 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00368/0.06653, allocations: 1.311 MB / 0.5192 GB, free: 6.273 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00894/0.07547, allocations: 5.957 MB / 0.525 GB, free: 300 kB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006024/0.08149, allocations: 2.857 MB / 0.5278 GB, free: 13.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008572/0.09006, allocations: 3.707 MB / 0.5314 GB, free: 9.648 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004708/0.09477, allocations: 2.022 MB / 0.5334 GB, free: 7.621 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.09588, allocations: 364 kB / 0.5337 GB, free: 7.266 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.09819, allocations: 0.9706 MB / 0.5347 GB, free: 6.293 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009981/0.09919, allocations: 1.285 MB / 0.5359 GB, free: 5.004 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.1011, allocations: 1.387 MB / 0.5373 GB, free: 3.613 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.1059, allocations: 3.391 MB / 0.5406 GB, free: 216 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1059, allocations: 0 / 0.5406 GB, free: 216 kB / 458.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1059, allocations: 4 kB / 0.5406 GB, free: 212 kB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001145/0.106, allocations: 0 / 0.5406 GB, free: 212 kB / 458.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.006906/0.1129, allocations: 4.7 MB / 0.5452 GB, free: 11.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.113, allocations: 12.03 kB / 0.5452 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007629/0.1206, allocations: 3.069 MB / 0.5482 GB, free: 8.312 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.1245, allocations: 2.192 MB / 0.5503 GB, free: 6.043 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/0.1249, allocations: 462.3 kB / 0.5508 GB, free: 5.527 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004626/0.1253, allocations: 260.3 kB / 0.551 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.1303, allocations: 3.5 MB / 0.5544 GB, free: 1.504 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.1303, allocations: 7.938 kB / 0.5544 GB, free: 1.496 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.1306, allocations: 108 kB / 0.5545 GB, free: 1.391 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/0.1307, allocations: 168.8 kB / 0.5547 GB, free: 1.223 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002642/0.1334, allocations: 1.547 MB / 0.5562 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.1441, allocations: 7.952 MB / 0.564 GB, free: 7.578 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.1473, allocations: 1.921 MB / 0.5659 GB, free: 5.652 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008294/0.1481, allocations: 0.5453 MB / 0.5664 GB, free: 5.102 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.1482, allocations: 25.31 kB / 0.5664 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001427/0.1497, allocations: 1.664 MB / 0.568 GB, free: 3.168 MB / 490.7 MB Notification: Performance of pre-optimization done (n=163): time 3.958e-06/0.1497, allocations: 4 kB / 0.568 GB, free: 3.164 MB / 490.7 MB Notification: Performance of matching and sorting (n=250): time 0.01671/0.1664, allocations: 7.523 MB / 0.5754 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.1666, allocations: 0.4928 MB / 0.5759 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.1686, allocations: 1.878 MB / 0.5777 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/0.1689, allocations: 73.7 kB / 0.5778 GB, free: 9.039 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009963/0.1699, allocations: 1.523 MB / 0.5793 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008714/0.1708, allocations: 0.8598 MB / 0.5801 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005684/0.1713, allocations: 414.6 kB / 0.5805 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1714, allocations: 480.7 kB / 0.581 GB, free: 5.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.1727, allocations: 0.7781 MB / 0.5817 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.1742, allocations: 1.564 MB / 0.5832 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002317/0.1765, allocations: 1.82 MB / 0.585 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.1765, allocations: 4 kB / 0.585 GB, free: 1.148 MB / 0.4948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007838/0.1843, allocations: 3.764 MB / 0.5887 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.926e-05/0.1844, allocations: 156.4 kB / 0.5889 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.1845, allocations: 4 kB / 0.5889 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006935/0.1914, allocations: 2.723 MB / 0.5915 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.1926, allocations: 391.4 kB / 0.5919 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.2111, allocations: 11.35 MB / 0.603 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.2134, allocations: 207.8 kB / 0.6032 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.2136, allocations: 91.97 kB / 0.6033 GB, free: 14.1 MB / 0.5261 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.000913/0.2145, allocations: 298.2 kB / 0.6035 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/0.2151, allocations: 386.1 kB / 0.6039 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003707/0.2155, allocations: 369.2 kB / 0.6043 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.2155, allocations: 27.94 kB / 0.6043 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.225e-05/0.2156, allocations: 8 kB / 0.6043 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.2156, allocations: 11.95 kB / 0.6043 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.2183, allocations: 2.094 MB / 0.6064 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.2183, allocations: 0 / 0.6064 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008968/0.2192, allocations: 303.5 kB / 0.6066 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006827/0.226, allocations: 2.672 MB / 0.6093 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003157/0.2263, allocations: 51.97 kB / 0.6093 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/0.243, allocations: 11.11 MB / 0.6202 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.243, allocations: 0 / 0.6202 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/0.2497, allocations: 3.358 MB / 0.6234 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.2511, allocations: 0.5875 MB / 0.624 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003497/0.2514, allocations: 44 kB / 0.624 GB, free: 8.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.2527, allocations: 199.8 kB / 0.6242 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009876/0.2537, allocations: 370.4 kB / 0.6246 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001407/0.2538, allocations: 67.97 kB / 0.6247 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001289/0.2551, allocations: 1.125 MB / 0.6258 GB, free: 6.691 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2551, allocations: 3.938 kB / 0.6258 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002829/0.258, allocations: 1.043 MB / 0.6268 GB, free: 5.645 MB / 0.5417 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.0003529/0.2583, allocations: 159.1 kB / 0.6269 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009061/0.2674, allocations: 4.188 MB / 0.631 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.2674, allocations: 8.125 kB / 0.631 GB, free: 1.141 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006989/0.2744, allocations: 2.948 MB / 0.6339 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.2773, allocations: 1.089 MB / 0.635 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/0.2858, allocations: 5.669 MB / 0.6405 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/0.2866, allocations: 0.7836 MB / 0.6413 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0015/0.2881, allocations: 411.4 kB / 0.6417 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.2886, allocations: 180.4 kB / 0.6418 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/0.2886, allocations: 0 / 0.6418 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of Templates: time 0.2796/0.5682, allocations: 73.62 MB / 0.7137 GB, free: 123 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.82996332203038]