Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001372/0.001372, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001574/0.001574, allocations: 214.1 kB / 22.99 MB, free: 4.945 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002601/0.002601, allocations: 304.2 kB / 313.5 MB, free: 2.609 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.163/1.163, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") [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.002877/0.002877, allocations: 107.1 kB / 0.7408 GB, free: 27.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1641, allocations: 95.38 MB / 0.8339 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001917/0.166, allocations: 0.5969 MB / 0.8345 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006963/0.1667, allocations: 291.4 kB / 0.8348 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.505e-05/0.1667, allocations: 0 / 0.8348 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.1667, allocations: 4 kB / 0.8348 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.1667, allocations: 0 / 0.8348 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.1672, allocations: 103.7 kB / 0.8349 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.015e-05/0.1672, allocations: 4 kB / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.1673, allocations: 0 / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.148e-05/0.1673, allocations: 0 / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 1.925e-05/0.1673, allocations: 0 / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.636e-06/0.1673, allocations: 0 / 0.8349 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.1677, allocations: 263.6 kB / 0.8351 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1677, allocations: 3.984 kB / 0.8351 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.1678, allocations: 7.938 kB / 0.8351 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1679, allocations: 91.73 kB / 0.8352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1679, allocations: 0 / 0.8352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1679, allocations: 0 / 0.8352 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.168, allocations: 3.938 kB / 0.8352 GB, free: 6.469 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003151/0.1683, allocations: 262.2 kB / 0.8355 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1683, allocations: 13.28 kB / 0.8355 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.135e-05/0.1684, allocations: 4.938 kB / 0.8355 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.367e-05/0.1685, allocations: 102.5 kB / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1685, allocations: 384 / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.1685, allocations: 384 / 0.8356 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.348e-05/0.1686, allocations: 34.27 kB / 0.8356 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1686, allocations: 192 / 0.8356 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1686, allocations: 3.938 kB / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1686, allocations: 0 / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.1686, allocations: 0 / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.1687, allocations: 105.3 kB / 0.8357 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.515e-05/0.1688, allocations: 18.52 kB / 0.8357 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.1688, allocations: 8.953 kB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/0.1691, allocations: 39.97 kB / 0.8358 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.1692, allocations: 34.56 kB / 0.8358 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1692, allocations: 0 / 0.8358 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.1693, allocations: 37.62 kB / 0.8359 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.1694, allocations: 55.34 kB / 0.8359 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.122e-05/0.1694, allocations: 97.8 kB / 0.836 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.1694, allocations: 29.7 kB / 0.836 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.1695, allocations: 80.27 kB / 0.8361 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.1695, allocations: 4 kB / 0.8361 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.1695, allocations: 9.719 kB / 0.8361 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1697, allocations: 314.8 kB / 0.8364 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.1697, allocations: 0 / 0.8364 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-06/0.1697, allocations: 0 / 0.8364 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.1697, allocations: 16.84 kB / 0.8364 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1697, allocations: 0 / 0.8364 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.051e-05/0.1698, allocations: 29.7 kB / 0.8365 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1698, allocations: 10.5 kB / 0.8365 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1698, allocations: 8.031 kB / 0.8365 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1698, allocations: 0 / 0.8365 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.1698, allocations: 3.938 kB / 0.8365 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1698, allocations: 4 kB / 0.8365 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.1699, allocations: 0 / 0.8365 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1699, allocations: 0 / 0.8365 GB, free: 4.996 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 7.581e-05/0.1699, allocations: 106.5 kB / 0.8366 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.17, allocations: 3.984 kB / 0.8366 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.987e-05/0.1701, allocations: 40.7 kB / 0.8366 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1701, allocations: 7.969 kB / 0.8366 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1701, allocations: 3.938 kB / 0.8367 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1701, allocations: 0 / 0.8367 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.342e-05/0.1701, allocations: 101.3 kB / 0.8368 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1702, allocations: 4 kB / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.1702, allocations: 0 / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1702, allocations: 0 / 0.8368 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1702, allocations: 7.938 kB / 0.8368 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1702, allocations: 0 / 0.8368 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1702, allocations: 3.938 kB / 0.8368 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.888e-05/0.1703, allocations: 65.14 kB / 0.8368 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.1703, allocations: 7.984 kB / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.1703, allocations: 0 / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.1703, allocations: 0 / 0.8368 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.464e-05/0.1703, allocations: 7.922 kB / 0.8368 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.1703, allocations: 3.938 kB / 0.8368 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.1703, allocations: 75.28 kB / 0.8369 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1703, allocations: 0 / 0.8369 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001997/0.1705, allocations: 15.94 kB / 0.8369 GB, free: 4.484 MB / 0.5762 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 (1): * Single equations (assignments): 1 * 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.0001763/0.1707, allocations: 107.2 kB / 0.837 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.601e-05/0.1708, allocations: 7.969 kB / 0.837 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1708, allocations: 4 kB / 0.837 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.915e-06/0.1708, allocations: 4 kB / 0.8371 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1709, allocations: 0 / 0.8371 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.1711, allocations: 108.4 kB / 0.8372 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.836e-05/0.1712, allocations: 59.34 kB / 0.8372 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.1712, allocations: 7.438 kB / 0.8372 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1712, allocations: 0 / 0.8372 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of Templates: time 0.002036/0.1732, allocations: 474.4 kB / 0.8377 GB, free: 3.668 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.916744195856154] Failed to read output from testmodel.py, exit status != 0: 0.1805378869175911 0.19532700500000003 0.024486147000000003 Calling exit ...