Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.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.001386/0.001386, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001526/0.001526, allocations: 206.2 kB / 22.24 MB, free: 5.262 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002712/0.002712, allocations: 289.2 kB / 312.7 MB, free: 2.613 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.225/1.225, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002999/0.002999, allocations: 105.7 kB / 0.74 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1616, allocations: 95.38 MB / 0.8331 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002738/0.1643, allocations: 1.411 MB / 0.8345 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1669, allocations: 1.76 MB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.894e-05/0.167, allocations: 0 / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.1681, allocations: 358 kB / 0.8366 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.1681, allocations: 19.89 kB / 0.8366 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-06/0.1682, allocations: 0 / 0.8366 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1684, allocations: 123.2 kB / 0.8367 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.1684, allocations: 9.672 kB / 0.8367 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.711e-05/0.1685, allocations: 47.8 kB / 0.8367 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.1686, allocations: 63.7 kB / 0.8368 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1686, allocations: 4 kB / 0.8368 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.1691, allocations: 175.9 kB / 0.837 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/0.1691, allocations: 27.84 kB / 0.837 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.368e-05/0.1692, allocations: 67.66 kB / 0.8371 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.1697, allocations: 290.7 kB / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1697, allocations: 0 / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1697, allocations: 0 / 0.8373 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.1697, allocations: 7.938 kB / 0.8374 GB, free: 3.438 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007325/0.1704, allocations: 417.2 kB / 0.8378 GB, free: 3 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1704, allocations: 8.75 kB / 0.8378 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1706, allocations: 96.12 kB / 0.8379 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.1708, allocations: 237.1 kB / 0.8381 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.1709, allocations: 158.9 kB / 0.8382 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.148e-05/0.171, allocations: 154.9 kB / 0.8384 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.076e-05/0.1711, allocations: 109.1 kB / 0.8385 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/0.1711, allocations: 79.28 kB / 0.8386 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.553e-05/0.1712, allocations: 154.5 kB / 0.8387 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/0.1712, allocations: 154.6 kB / 0.8389 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.372e-05/0.1713, allocations: 150.6 kB / 0.839 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.1717, allocations: 461.4 kB / 0.8394 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.1718, allocations: 173 kB / 0.8396 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.209e-05/0.1718, allocations: 88.14 kB / 0.8397 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1719, allocations: 75.28 kB / 0.8398 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/0.1719, allocations: 109.8 kB / 0.8399 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1719, allocations: 0 / 0.8399 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 0.0001765/0.1721, allocations: 61.42 kB / 0.8399 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.1722, allocations: 130.7 kB / 0.84 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.1725, allocations: 329.5 kB / 0.8404 GB, free: 216 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1725, allocations: 29.7 kB / 0.8404 GB, free: 180 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.1726, allocations: 116.5 kB / 0.8405 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-06/0.1726, allocations: 0 / 0.8405 GB, free: 60 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.468e-05/0.1727, allocations: 57.77 kB / 0.8406 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1729, allocations: 334.8 kB / 0.8409 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-05/0.173, allocations: 63.95 kB / 0.8409 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1731, allocations: 114 kB / 0.841 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1734, allocations: 213.8 kB / 0.8412 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1734, allocations: 4 kB / 0.8412 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004661/0.1739, allocations: 233.4 kB / 0.8415 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1739, allocations: 7.938 kB / 0.8415 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.1739, allocations: 4 kB / 0.8415 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1739, allocations: 0 / 0.8415 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.167e-05/0.1739, allocations: 7.938 kB / 0.8415 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1739, allocations: 0 / 0.8415 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.174, allocations: 27.73 kB / 0.8415 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.174, allocations: 4 kB / 0.8415 GB, free: 14.94 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.1742, allocations: 226 kB / 0.8417 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.1743, allocations: 136.7 kB / 0.8419 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.071e-05/0.1744, allocations: 113.8 kB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.349e-05/0.1745, allocations: 176.3 kB / 0.8421 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-05/0.1746, allocations: 184.2 kB / 0.8423 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.077e-05/0.1746, allocations: 176.3 kB / 0.8425 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.1749, allocations: 404.8 kB / 0.8429 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/0.175, allocations: 105 kB / 0.843 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.203e-05/0.175, allocations: 105 kB / 0.8431 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.832e-05/0.1751, allocations: 184.2 kB / 0.8432 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/0.1752, allocations: 184.2 kB / 0.8434 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.438e-05/0.1753, allocations: 184.2 kB / 0.8436 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.909e-05/0.1754, allocations: 176.3 kB / 0.8438 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1755, allocations: 323.7 kB / 0.8441 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.1756, allocations: 120.8 kB / 0.8442 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.1757, allocations: 188.1 kB / 0.8444 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1759, allocations: 101 kB / 0.8445 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.176, allocations: 188.2 kB / 0.8446 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.736e-05/0.176, allocations: 109.2 kB / 0.8448 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000228/0.1762, allocations: 217.2 kB / 0.845 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1762, allocations: 0 / 0.845 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003379/0.1766, allocations: 63.88 kB / 0.845 GB, free: 11.17 MB / 0.5919 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003181/0.1769, allocations: 278.4 kB / 0.8453 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001663/0.1771, allocations: 83.95 kB / 0.8454 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1771, allocations: 0 / 0.8454 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.1771, allocations: 0 / 0.8454 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.1775, allocations: 466.8 kB / 0.8458 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.178, allocations: 393.5 kB / 0.8462 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.1782, allocations: 127.2 kB / 0.8463 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 1.522e-05/0.1782, allocations: 7.906 kB / 0.8463 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.1782, allocations: 7.438 kB / 0.8463 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1782, allocations: 0 / 0.8463 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of Templates: time 0.006037/0.1842, allocations: 2.493 MB / 0.8488 GB, free: 7.324 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.167001975700259] Failed to read output from testmodel.py, exit status != 0: 0.1914184484630823 0.206653368 0.033900876 Calling exit ...