Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 190.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002486/0.002486, allocations: 284 kB / 306.6 MB, free: 8.309 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.182/1.182, allocations: 180.9 MB / 0.53 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 97.06 kB / 0.7308 GB, free: 38.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1482, allocations: 94.19 MB / 0.8228 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.00593/0.1541, allocations: 3.982 MB / 0.8267 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002857/0.157, allocations: 1.772 MB / 0.8284 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.1571, allocations: 11.94 kB / 0.8284 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.1586, allocations: 0.5059 MB / 0.8289 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004514/0.159, allocations: 230.9 kB / 0.8292 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1595, allocations: 207.4 kB / 0.8294 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.16, allocations: 482.1 kB / 0.8298 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004789/0.1605, allocations: 257.7 kB / 0.8301 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.1608, allocations: 203.2 kB / 0.8303 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.1612, allocations: 223.2 kB / 0.8305 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.1612, allocations: 28 kB / 0.8305 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004003/0.1616, allocations: 259.4 kB / 0.8307 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1617, allocations: 131.6 kB / 0.8309 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.1619, allocations: 171.2 kB / 0.831 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.1626, allocations: 0.502 MB / 0.8315 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1626, allocations: 4 kB / 0.8315 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1626, allocations: 0 / 0.8315 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1626, allocations: 0 / 0.8315 GB, free: 8.848 MB / 0.5762 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.0009942/0.1636, allocations: 0.5713 MB / 0.8321 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1636, allocations: 8.031 kB / 0.8321 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008879/0.1645, allocations: 132.6 kB / 0.8322 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.1649, allocations: 237.9 kB / 0.8324 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.1649, allocations: 21.03 kB / 0.8325 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.1649, allocations: 28.38 kB / 0.8325 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.1657, allocations: 471.7 kB / 0.8329 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1657, allocations: 4 kB / 0.8329 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.1657, allocations: 12 kB / 0.833 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.536e-05/0.1658, allocations: 24.64 kB / 0.833 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.1663, allocations: 322.3 kB / 0.8333 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.1686, allocations: 2.151 MB / 0.8354 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.169, allocations: 158.7 kB / 0.8355 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.1693, allocations: 104.8 kB / 0.8356 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.1693, allocations: 0 / 0.8356 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1693, allocations: 42.75 kB / 0.8357 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1693, allocations: 0 / 0.8357 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.0005836/0.1699, allocations: 224.8 kB / 0.8359 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.17, allocations: 51.41 kB / 0.8359 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.1703, allocations: 269.8 kB / 0.8362 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1703, allocations: 29.7 kB / 0.8362 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1704, allocations: 208.3 kB / 0.8364 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.1705, allocations: 51.56 kB / 0.8365 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.1706, allocations: 49.91 kB / 0.8365 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1707, allocations: 342.8 kB / 0.8369 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1708, allocations: 60.47 kB / 0.8369 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.171, allocations: 145.2 kB / 0.837 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002905/0.1713, allocations: 218.9 kB / 0.8373 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1713, allocations: 64 / 0.8373 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004412/0.1717, allocations: 266.2 kB / 0.8375 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1718, allocations: 11.94 kB / 0.8375 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1718, allocations: 4 kB / 0.8375 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.1719, allocations: 28.78 kB / 0.8376 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1721, allocations: 47.92 kB / 0.8376 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.1733, allocations: 1.323 MB / 0.8389 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.1735, allocations: 24 kB / 0.8389 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1735, allocations: 16 kB / 0.8389 GB, free: 0.6875 MB / 0.5762 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.0001748/0.1737, allocations: 170.9 kB / 0.8391 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.155e-05/0.1737, allocations: 23.86 kB / 0.8391 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1738, allocations: 25.77 kB / 0.8391 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1738, allocations: 4 kB / 0.8391 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.1738, allocations: 0 / 0.8391 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1738, allocations: 0 / 0.8391 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.1748, allocations: 0.6782 MB / 0.8398 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.1748, allocations: 0 / 0.8398 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.395e-05/0.1749, allocations: 28.11 kB / 0.8398 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.548e-05/0.175, allocations: 32.78 kB / 0.8399 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.175, allocations: 0 / 0.8399 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.1761, allocations: 1.318 MB / 0.8412 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1761, allocations: 4.031 kB / 0.8412 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.1765, allocations: 316.4 kB / 0.8415 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.1766, allocations: 39.77 kB / 0.8415 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.1766, allocations: 8 kB / 0.8415 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.1768, allocations: 12 kB / 0.8415 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1768, allocations: 23.84 kB / 0.8415 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1768, allocations: 4 kB / 0.8415 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001989/0.177, allocations: 189.2 kB / 0.8417 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.177, allocations: 4 kB / 0.8417 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003836/0.1774, allocations: 79.84 kB / 0.8418 GB, free: 13.5 MB / 0.5919 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.0001175/0.1775, allocations: 103.2 kB / 0.8419 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.178, allocations: 262.4 kB / 0.8421 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.178, allocations: 4 kB / 0.8422 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.1782, allocations: 183.6 kB / 0.8423 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.1787, allocations: 62.52 kB / 0.8424 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.1796, allocations: 0.5514 MB / 0.8429 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.18, allocations: 0.7909 MB / 0.8437 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.1802, allocations: 42.27 kB / 0.8437 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.1802, allocations: 19.44 kB / 0.8438 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.1802, allocations: 0 / 0.8438 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.006853/0.1871, allocations: 2.874 MB / 0.8466 GB, free: 8.555 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.848706992343068] Failed to read output from testmodel.py, exit status != 0: 0.19423188269138336 0.20952335600000002 0.043862252000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f405a7917b0>