Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.001426/0.001426, allocations: 79.73 kB / 20.51 MB, free: 1.117 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.001459/0.001459, allocations: 162.8 kB / 23.76 MB, free: 4.195 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.425/1.425, allocations: 177.2 MB / 204.1 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.9281/0.9281, allocations: 113.9 MB / 374.4 MB, free: 12.89 MB / 350.1 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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: IBPSA 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.00213/0.00213, allocations: 67.89 kB / 0.555 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1619, allocations: 89.14 MB / 0.6421 GB, free: 9.578 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005795/0.1677, allocations: 3.761 MB / 0.6457 GB, free: 5.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002912/0.1706, allocations: 1.706 MB / 0.6474 GB, free: 4.086 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.1707, allocations: 11.94 kB / 0.6474 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.1722, allocations: 490.1 kB / 0.6479 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005061/0.1727, allocations: 234.8 kB / 0.6481 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.1732, allocations: 210.2 kB / 0.6483 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.1738, allocations: 478.4 kB / 0.6488 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.1743, allocations: 285.5 kB / 0.649 GB, free: 2.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1745, allocations: 203.3 kB / 0.6492 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.1749, allocations: 215.1 kB / 0.6494 GB, free: 2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.466e-05/0.175, allocations: 32 kB / 0.6495 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.1753, allocations: 219.5 kB / 0.6497 GB, free: 1.754 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1755, allocations: 127.6 kB / 0.6498 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1756, allocations: 143.4 kB / 0.6499 GB, free: 1.488 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.1763, allocations: 0.5059 MB / 0.6504 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1763, allocations: 0 / 0.6504 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.507e-06/0.1763, allocations: 4 kB / 0.6504 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.1763, allocations: 0 / 0.6504 GB, free: 0.9766 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009857/0.1773, allocations: 0.5635 MB / 0.651 GB, free: 392 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1773, allocations: 8.031 kB / 0.651 GB, free: 384 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009265/0.1782, allocations: 140.6 kB / 0.6511 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.1787, allocations: 233.9 kB / 0.6514 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.1787, allocations: 21.03 kB / 0.6514 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1787, allocations: 32.34 kB / 0.6514 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.1795, allocations: 0.5862 MB / 0.652 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1795, allocations: 7.875 kB / 0.652 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.1795, allocations: 15.98 kB / 0.652 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.1796, allocations: 28.62 kB / 0.652 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005318/0.1801, allocations: 326.3 kB / 0.6523 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.182, allocations: 1.513 MB / 0.6538 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.1824, allocations: 170.6 kB / 0.654 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1826, allocations: 92.81 kB / 0.6541 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.1826, allocations: 0 / 0.6541 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1827, allocations: 42.55 kB / 0.6541 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1827, allocations: 0 / 0.6541 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005589/0.1832, allocations: 214.6 kB / 0.6543 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1833, allocations: 51.41 kB / 0.6544 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.1835, allocations: 240 kB / 0.6546 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1835, allocations: 29.7 kB / 0.6546 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1837, allocations: 216.1 kB / 0.6548 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.1837, allocations: 51.59 kB / 0.6549 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.1838, allocations: 46.03 kB / 0.6549 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.184, allocations: 334.7 kB / 0.6552 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1841, allocations: 56.44 kB / 0.6553 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.1842, allocations: 144.7 kB / 0.6554 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1845, allocations: 222 kB / 0.6556 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1845, allocations: 0 / 0.6556 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004212/0.1849, allocations: 262.1 kB / 0.6559 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.185, allocations: 8 kB / 0.6559 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.185, allocations: 4 kB / 0.6559 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001616/0.1851, allocations: 24.84 kB / 0.6559 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.1853, allocations: 48.3 kB / 0.656 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/0.1864, allocations: 1.299 MB / 0.6572 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.1866, allocations: 27.78 kB / 0.6573 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1866, allocations: 8 kB / 0.6573 GB, free: 9.512 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001649/0.1868, allocations: 169.7 kB / 0.6574 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.1868, allocations: 20 kB / 0.6575 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.1869, allocations: 33.41 kB / 0.6575 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1869, allocations: 3.984 kB / 0.6575 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1869, allocations: 0 / 0.6575 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1869, allocations: 0 / 0.6575 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008585/0.1877, allocations: 0.5583 MB / 0.658 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1877, allocations: 0 / 0.658 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.1878, allocations: 27.92 kB / 0.6581 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.772e-05/0.1879, allocations: 29.09 kB / 0.6581 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.1879, allocations: 8 kB / 0.6581 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001008/0.1889, allocations: 1.284 MB / 0.6593 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1889, allocations: 4.031 kB / 0.6594 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1893, allocations: 313.4 kB / 0.6597 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.1894, allocations: 35.84 kB / 0.6597 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1894, allocations: 7.984 kB / 0.6597 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1896, allocations: 12 kB / 0.6597 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.1896, allocations: 7.984 kB / 0.6597 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1896, allocations: 11.94 kB / 0.6597 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001544/0.1897, allocations: 161.8 kB / 0.6599 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1897, allocations: 0 / 0.6599 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004036/0.1902, allocations: 83.88 kB / 0.66 GB, free: 6.551 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.1903, allocations: 107.2 kB / 0.6601 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004678/0.1907, allocations: 269.3 kB / 0.6603 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1907, allocations: 0 / 0.6603 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.191, allocations: 187.6 kB / 0.6605 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.1914, allocations: 49.78 kB / 0.6605 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.1923, allocations: 0.5475 MB / 0.6611 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1925, allocations: 182.1 kB / 0.6613 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001273/0.1927, allocations: 37.92 kB / 0.6613 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.455e-05/0.1927, allocations: 20.5 kB / 0.6613 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.1927, allocations: 0 / 0.6613 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.006254/0.199, allocations: 2.446 MB / 0.6637 GB, free: 2.691 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.422309878980741] Failed to read output from testmodel.py, exit status != 0: 0.20727526501286775 0.22139377599999996 0.042070382 Calling exit ...