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.001154/0.001154, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001811/0.002965, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0007837/0.0007837, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009965/0.00178, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.011/1.011, allocations: 177.1 MB / 189.6 MB, free: 3.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1817/1.192, allocations: 53.67 MB / 243.2 MB, free: 2.352 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6151/0.6151, allocations: 119.1 MB / 363.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07282/0.6879, allocations: 37.86 MB / 400.9 MB, free: 15.28 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.293e-06/1.293e-06, allocations: 0 / 402.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.773e-05, allocations: 2.312 kB / 402.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01123/0.01125, allocations: 15.43 MB / 417.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01967/0.03092, allocations: 13.06 MB / 430.7 MB, free: 1.359 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.03442, allocations: 174.6 kB / 430.9 MB, free: 1.188 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.03727, allocations: 0.7558 MB / 431.7 MB, free: 436 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009214/0.04648, allocations: 3.512 MB / 435.2 MB, free: 12.91 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.05018, allocations: 1.31 MB / 436.5 MB, free: 11.6 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009092/0.05927, allocations: 6.34 MB / 442.8 MB, free: 5.234 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/0.06405, allocations: 2.771 MB / 445.6 MB, free: 2.359 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008101/0.07215, allocations: 4.168 MB / 449.8 MB, free: 14.14 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004022/0.07617, allocations: 2.197 MB / 452 MB, free: 11.93 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001069/0.07724, allocations: 368 kB / 452.3 MB, free: 11.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.07858, allocations: 447.8 kB / 452.8 MB, free: 11.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008866/0.07947, allocations: 1.036 MB / 453.8 MB, free: 10.1 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001766/0.08123, allocations: 1.127 MB / 454.9 MB, free: 8.969 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00303/0.08426, allocations: 2.869 MB / 457.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598e-05/0.08428, allocations: 0 / 457.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.08428, allocations: 4 kB / 457.8 MB, free: 6.086 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001002/0.08438, allocations: 4 kB / 457.8 MB, free: 6.082 MB / 442.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.005364/0.08975, allocations: 5.102 MB / 462.9 MB, free: 0.8867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.08978, allocations: 11.89 kB / 462.9 MB, free: 0.875 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005059/0.09484, allocations: 2.105 MB / 465 MB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.09761, allocations: 1.885 MB / 466.9 MB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/0.09786, allocations: 466.3 kB / 467.4 MB, free: 12.26 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000329/0.09819, allocations: 244.4 kB / 467.6 MB, free: 12.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.1017, allocations: 3.246 MB / 470.8 MB, free: 8.516 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.1017, allocations: 3.938 kB / 470.8 MB, free: 8.512 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.102, allocations: 108 kB / 471 MB, free: 8.406 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/0.1021, allocations: 172.8 kB / 471.1 MB, free: 8.234 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.1035, allocations: 0.9744 MB / 472.1 MB, free: 7.238 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008139/0.1116, allocations: 5.775 MB / 477.9 MB, free: 1.359 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.114, allocations: 1.617 MB / 479.5 MB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/0.1144, allocations: 383.7 kB / 479.9 MB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.444e-05/0.1145, allocations: 37.23 kB / 479.9 MB, free: 15.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.1156, allocations: 1.517 MB / 481.4 MB, free: 13.57 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 3.166e-06/0.1156, allocations: 0 / 481.4 MB, free: 13.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.006772/0.1224, allocations: 3.357 MB / 484.8 MB, free: 10.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.1224, allocations: 84.66 kB / 484.9 MB, free: 10.11 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.124, allocations: 1.695 MB / 486.5 MB, free: 8.398 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.1241, allocations: 61.7 kB / 486.6 MB, free: 8.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006801/0.1248, allocations: 1.035 MB / 487.6 MB, free: 7.281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/0.1252, allocations: 0.5576 MB / 488.2 MB, free: 6.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003562/0.1255, allocations: 303.3 kB / 488.5 MB, free: 6.418 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.1256, allocations: 301.1 kB / 488.8 MB, free: 6.121 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.1261, allocations: 416.4 kB / 489.2 MB, free: 5.684 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006887/0.1268, allocations: 1.064 MB / 490.3 MB, free: 4.414 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.1279, allocations: 1.028 MB / 491.3 MB, free: 3.281 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.1279, allocations: 4 kB / 491.3 MB, free: 3.277 MB / 474.7 MB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002985/0.1309, allocations: 1.929 MB / 493.2 MB, free: 1.277 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.131, allocations: 148.5 kB / 493.4 MB, free: 1.102 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.131, allocations: 8 kB / 493.4 MB, free: 1.094 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002918/0.1339, allocations: 1.226 MB / 494.6 MB, free: 15.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/0.1348, allocations: 367.4 kB / 495 MB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007431/0.1423, allocations: 4.855 MB / 499.8 MB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.1437, allocations: 254.8 kB / 0.4883 GB, free: 10.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.1438, allocations: 59.97 kB / 0.4884 GB, free: 10.27 MB / 490.7 MB 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.0007494/0.1445, allocations: 214.4 kB / 0.4886 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.1449, allocations: 231.7 kB / 0.4888 GB, free: 9.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1452, allocations: 290.3 kB / 0.4891 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.1452, allocations: 16 kB / 0.4891 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1452, allocations: 0 / 0.4891 GB, free: 9.512 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.1452, allocations: 11.97 kB / 0.4891 GB, free: 9.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.1473, allocations: 1.213 MB / 0.4903 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1473, allocations: 0 / 0.4903 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007456/0.148, allocations: 259.6 kB / 0.4906 GB, free: 8.016 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/0.1486, allocations: 369.8 kB / 0.4909 GB, free: 7.652 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002622/0.1512, allocations: 1.191 MB / 0.4921 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.264e-05/0.1513, allocations: 43.89 kB / 0.4921 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.1583, allocations: 4.6 MB / 0.4966 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1583, allocations: 4 kB / 0.4966 GB, free: 1.691 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.1608, allocations: 1.546 MB / 0.4981 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00036/0.1612, allocations: 35.94 kB / 0.4982 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.1977/0.359, allocations: 142.3 kB / 0.4983 GB, free: 63.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/0.3597, allocations: 222.3 kB / 0.4985 GB, free: 63.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.3599, allocations: 40.88 kB / 0.4985 GB, free: 63.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.3611, allocations: 0.8945 MB / 0.4994 GB, free: 63.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3611, allocations: 0 / 0.4994 GB, free: 63.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002377/0.3635, allocations: 0.9675 MB / 0.5004 GB, free: 63.64 MB / 490.7 MB 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.0002868/0.3638, allocations: 128.8 kB / 0.5005 GB, free: 63.58 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004188/0.368, allocations: 2.256 MB / 0.5027 GB, free: 62.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.202e-05/0.3681, allocations: 33.95 kB / 0.5027 GB, free: 62.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003061/0.3711, allocations: 1.427 MB / 0.5041 GB, free: 62.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.3743, allocations: 1.261 MB / 0.5054 GB, free: 62.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.3967, allocations: 5.022 MB / 0.5103 GB, free: 60.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.3973, allocations: 0.652 MB / 0.5109 GB, free: 60.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001691/0.399, allocations: 339.1 kB / 0.5112 GB, free: 60.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.4006, allocations: 0.8169 MB / 0.512 GB, free: 60.33 MB / 490.7 MB Notification: Performance of SimCode: time 2.465e-06/0.4006, allocations: 0.875 kB / 0.512 GB, free: 60.33 MB / 490.7 MB Notification: Performance of Templates: time 0.06446/0.465, allocations: 60.51 MB / 0.5711 GB, free: 15.41 MB / 490.7 MB " [Timeout remaining time 660] 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.119019337929785]