Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.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.001288/0.001288, 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.001448/0.001448, allocations: 163.2 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.421/1.421, allocations: 177.2 MB / 204.1 MB, free: 8.984 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.9148/0.9148, allocations: 113.9 MB / 374.5 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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") [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.002126/0.002126, allocations: 75.88 kB / 0.555 GB, free: 2.766 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1581, allocations: 89.14 MB / 0.6421 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.00481/0.1629, allocations: 3.044 MB / 0.645 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1652, allocations: 1.309 MB / 0.6463 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.1653, allocations: 7.938 kB / 0.6463 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.1664, allocations: 338.8 kB / 0.6467 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000335/0.1667, allocations: 147.3 kB / 0.6468 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.1671, allocations: 143.6 kB / 0.6469 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.1674, allocations: 302.9 kB / 0.6472 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.1678, allocations: 188.6 kB / 0.6474 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.168, allocations: 123.6 kB / 0.6475 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.1682, allocations: 135.5 kB / 0.6476 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.1683, allocations: 16 kB / 0.6477 GB, free: 3.824 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002582/0.1685, allocations: 147.7 kB / 0.6478 GB, free: 3.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.1686, allocations: 83.73 kB / 0.6479 GB, free: 3.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1688, allocations: 95.58 kB / 0.648 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.1692, allocations: 342.8 kB / 0.6483 GB, free: 3.168 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1692, allocations: 0 / 0.6483 GB, free: 3.168 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1692, allocations: 0 / 0.6483 GB, free: 3.168 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1692, allocations: 4 kB / 0.6483 GB, free: 3.164 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007949/0.17, allocations: 453.5 kB / 0.6487 GB, free: 2.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.17, allocations: 11.97 kB / 0.6487 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005803/0.1706, allocations: 80.66 kB / 0.6488 GB, free: 2.598 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.171, allocations: 196.7 kB / 0.649 GB, free: 2.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.171, allocations: 12.75 kB / 0.649 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.171, allocations: 20.38 kB / 0.649 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.1715, allocations: 373.1 kB / 0.6494 GB, free: 1.949 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1715, allocations: 3.938 kB / 0.6494 GB, free: 1.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1716, allocations: 12 kB / 0.6494 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.1716, allocations: 16.36 kB / 0.6494 GB, free: 1.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.1719, allocations: 193 kB / 0.6496 GB, free: 1.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.1732, allocations: 0.9929 MB / 0.6506 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1735, allocations: 94.55 kB / 0.6507 GB, free: 0.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1735, allocations: 28.84 kB / 0.6507 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.1735, allocations: 7.969 kB / 0.6507 GB, free: 0.543 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1736, allocations: 38.56 kB / 0.6507 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.1736, allocations: 4 kB / 0.6508 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004463/0.174, allocations: 142.4 kB / 0.6509 GB, free: 352 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.174, allocations: 51.41 kB / 0.6509 GB, free: 288 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1742, allocations: 190.3 kB / 0.6511 GB, free: 88 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1743, allocations: 33.64 kB / 0.6511 GB, free: 48 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1744, allocations: 168 kB / 0.6513 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1744, allocations: 35.88 kB / 0.6513 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-05/0.1745, allocations: 29.72 kB / 0.6514 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1746, allocations: 326.8 kB / 0.6517 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.1747, allocations: 39.98 kB / 0.6517 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1748, allocations: 100.5 kB / 0.6518 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.175, allocations: 144.4 kB / 0.652 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.175, allocations: 4 kB / 0.652 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003226/0.1753, allocations: 190.1 kB / 0.6521 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1753, allocations: 10.19 kB / 0.6521 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1754, allocations: 4 kB / 0.6522 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.1755, allocations: 29.06 kB / 0.6522 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.1756, allocations: 27.98 kB / 0.6522 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.1767, allocations: 1.291 MB / 0.6535 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.1769, allocations: 15.92 kB / 0.6535 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1769, allocations: 4 kB / 0.6535 GB, free: 13.45 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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.000218/0.1771, allocations: 153.8 kB / 0.6536 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.1771, allocations: 23.84 kB / 0.6537 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.1772, allocations: 17.47 kB / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1772, allocations: 0 / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1772, allocations: 0 / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1772, allocations: 0 / 0.6537 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.1777, allocations: 366.9 kB / 0.654 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1777, allocations: 0 / 0.654 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.772e-05/0.1777, allocations: 4 kB / 0.654 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.148e-05/0.1778, allocations: 24.84 kB / 0.6541 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1778, allocations: 4.062 kB / 0.6541 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.1789, allocations: 1.296 MB / 0.6553 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1789, allocations: 3.984 kB / 0.6553 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1791, allocations: 208.2 kB / 0.6555 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.1792, allocations: 23.88 kB / 0.6555 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.1792, allocations: 0 / 0.6555 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1793, allocations: 8.156 kB / 0.6556 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.1793, allocations: 7.984 kB / 0.6556 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.1793, allocations: 4 kB / 0.6556 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001163/0.1794, allocations: 128.3 kB / 0.6557 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 0.6557 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003373/0.1798, allocations: 63.78 kB / 0.6557 GB, free: 10.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001066/0.1799, allocations: 97.48 kB / 0.6558 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003719/0.1803, allocations: 202.7 kB / 0.656 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1803, allocations: 0 / 0.656 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1804, allocations: 146.6 kB / 0.6562 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1808, allocations: 32.2 kB / 0.6562 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000626/0.1814, allocations: 371.1 kB / 0.6566 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.1815, allocations: 131.9 kB / 0.6567 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.425e-05/0.1816, allocations: 25.47 kB / 0.6567 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1816, allocations: 16.44 kB / 0.6567 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.1816, allocations: 0 / 0.6567 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of Templates: time 0.004989/0.1866, allocations: 1.639 MB / 0.6583 GB, free: 8.285 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.352737192064524] Failed to read output from testmodel.py, exit status != 0: 0.19503640395123512 0.209200561 0.037008961 Calling exit ...