Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.001322/0.001322, 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.001632/0.001632, allocations: 215.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.393/1.393, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002502/0.002502, allocations: 289.7 kB / 313.5 MB, free: 2.633 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.174/1.174, allocations: 180.6 MB / 0.5377 GB, free: 14.68 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.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.002906/0.002906, allocations: 105.6 kB / 0.7407 GB, free: 27.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1728, allocations: 95.38 MB / 0.8339 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002605/0.1754, allocations: 1.462 MB / 0.8353 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007166/0.1761, allocations: 353.4 kB / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.1762, allocations: 0 / 0.8356 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.459e-05/0.1762, allocations: 3.938 kB / 0.8356 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.1762, allocations: 4 kB / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.1766, allocations: 115.6 kB / 0.8358 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.1767, allocations: 27.86 kB / 0.8358 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.1768, allocations: 8 kB / 0.8358 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.1768, allocations: 11.92 kB / 0.8358 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.1769, allocations: 15.92 kB / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1769, allocations: 0 / 0.8358 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.1773, allocations: 263.6 kB / 0.8361 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.1773, allocations: 4 kB / 0.8361 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.1773, allocations: 11.94 kB / 0.8361 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1775, allocations: 107.6 kB / 0.8362 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1775, allocations: 4 kB / 0.8362 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1775, allocations: 0 / 0.8362 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1775, allocations: 0 / 0.8362 GB, free: 5.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004522/0.1779, allocations: 294 kB / 0.8365 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.178, allocations: 9.938 kB / 0.8365 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.178, allocations: 4.938 kB / 0.8365 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1781, allocations: 114.5 kB / 0.8366 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1782, allocations: 4.375 kB / 0.8366 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.1782, allocations: 4.375 kB / 0.8366 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1783, allocations: 58.16 kB / 0.8367 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1783, allocations: 192 / 0.8367 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1784, allocations: 3.938 kB / 0.8367 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1784, allocations: 0 / 0.8367 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.1785, allocations: 35.95 kB / 0.8367 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.1788, allocations: 188.6 kB / 0.8369 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.1789, allocations: 50.48 kB / 0.8369 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.092e-05/0.179, allocations: 20.91 kB / 0.8369 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000497/0.1795, allocations: 75.86 kB / 0.837 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1795, allocations: 38.56 kB / 0.837 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1795, allocations: 0 / 0.837 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.1799, allocations: 77.64 kB / 0.8371 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1799, allocations: 51.41 kB / 0.8372 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.18, allocations: 109.8 kB / 0.8373 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.18, allocations: 29.7 kB / 0.8373 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.1801, allocations: 84.14 kB / 0.8374 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.1801, allocations: 12.02 kB / 0.8374 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1801, allocations: 21.7 kB / 0.8374 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1803, allocations: 318.7 kB / 0.8377 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.1804, allocations: 15.98 kB / 0.8377 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-05/0.1804, allocations: 15.98 kB / 0.8378 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1806, allocations: 40.81 kB / 0.8378 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1806, allocations: 64 / 0.8378 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.1808, allocations: 81.55 kB / 0.8379 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1808, allocations: 7.938 kB / 0.8379 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1808, allocations: 0 / 0.8379 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1808, allocations: 0 / 0.8379 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.845e-05/0.1809, allocations: 8 kB / 0.8379 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.1809, allocations: 7.922 kB / 0.8379 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.1809, allocations: 7.984 kB / 0.8379 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.1809, allocations: 4.031 kB / 0.8379 GB, free: 3.496 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 (2): * Single equations (assignments): 2 * 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.967e-05/0.181, allocations: 110.5 kB / 0.838 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.1811, allocations: 3.938 kB / 0.838 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.1813, allocations: 77.27 kB / 0.8381 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1813, allocations: 0 / 0.8381 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1813, allocations: 0 / 0.8381 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1813, allocations: 0 / 0.8381 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.1814, allocations: 109.3 kB / 0.8382 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1814, allocations: 32 / 0.8382 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.947e-05/0.1815, allocations: 8 kB / 0.8382 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.1815, allocations: 7.938 kB / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.1815, allocations: 0 / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1815, allocations: 0 / 0.8382 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1815, allocations: 3.938 kB / 0.8382 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1817, allocations: 159.5 kB / 0.8384 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.1818, allocations: 15.88 kB / 0.8384 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1818, allocations: 0 / 0.8384 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.1818, allocations: 8.031 kB / 0.8384 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.1819, allocations: 8.234 kB / 0.8384 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.1819, allocations: 0 / 0.8384 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.1819, allocations: 87.28 kB / 0.8385 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1819, allocations: 0 / 0.8385 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002203/0.1821, allocations: 12 kB / 0.8385 GB, free: 2.832 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 (2): * Single equations (assignments): 2 * 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.0001636/0.1823, allocations: 115.1 kB / 0.8386 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1825, allocations: 43.91 kB / 0.8386 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1825, allocations: 0 / 0.8386 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.1826, allocations: 19.97 kB / 0.8387 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1829, allocations: 4 kB / 0.8387 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.1832, allocations: 143.2 kB / 0.8388 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.57e-05/0.1832, allocations: 59.34 kB / 0.8389 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.497e-05/0.1832, allocations: 11.44 kB / 0.8389 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1832, allocations: 4.125 kB / 0.8389 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of Templates: time 0.002142/0.1854, allocations: 0.71 MB / 0.8396 GB, free: 1.672 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.952258576173335] Failed to read output from testmodel.py, exit status != 0: 0.1928832377307117 0.20721850500000003 0.02687644 Calling exit ...