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.001385/0.001385, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001533/0.001533, allocations: 211.3 kB / 22.24 MB, free: 4.859 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.462/1.462, allocations: 230.6 MB / 256 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.002522/0.002522, allocations: 282 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.63 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.002839/0.002839, allocations: 100.5 kB / 0.74 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 95.38 MB / 0.8331 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002633/0.1783, allocations: 1.463 MB / 0.8346 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.1791, allocations: 361.3 kB / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.1791, allocations: 0 / 0.8349 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.1791, allocations: 3.938 kB / 0.8349 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.1792, allocations: 7.938 kB / 0.8349 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.1796, allocations: 109.4 kB / 0.835 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.797e-05/0.1796, allocations: 27.86 kB / 0.835 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.1797, allocations: 11.98 kB / 0.8351 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.1797, allocations: 4 kB / 0.8351 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.588e-05/0.1798, allocations: 15.92 kB / 0.8351 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1798, allocations: 0 / 0.8351 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.1802, allocations: 259.7 kB / 0.8353 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1802, allocations: 7.984 kB / 0.8353 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.916e-05/0.1802, allocations: 7.938 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1804, allocations: 115.6 kB / 0.8354 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1804, allocations: 4 kB / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1804, allocations: 0 / 0.8354 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.1804, allocations: 0 / 0.8354 GB, free: 5.461 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.0004438/0.1809, allocations: 290 kB / 0.8357 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1809, allocations: 9.344 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1809, allocations: 4.938 kB / 0.8357 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.181, allocations: 114.5 kB / 0.8358 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1811, allocations: 4.375 kB / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.1811, allocations: 384 / 0.8359 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.1812, allocations: 62.11 kB / 0.8359 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1812, allocations: 192 / 0.8359 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1812, allocations: 3.938 kB / 0.8359 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1812, allocations: 0 / 0.8359 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.1814, allocations: 31.97 kB / 0.8359 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.1817, allocations: 196.6 kB / 0.8361 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.1818, allocations: 42.5 kB / 0.8362 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.1819, allocations: 28.89 kB / 0.8362 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005019/0.1824, allocations: 79.84 kB / 0.8363 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1824, allocations: 34.56 kB / 0.8363 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1824, allocations: 7.938 kB / 0.8363 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003564/0.1828, allocations: 77.64 kB / 0.8364 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1828, allocations: 51.41 kB / 0.8364 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.113e-05/0.1829, allocations: 105.8 kB / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1829, allocations: 33.64 kB / 0.8366 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.183, allocations: 84.14 kB / 0.8367 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.183, allocations: 7.891 kB / 0.8367 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.183, allocations: 21.84 kB / 0.8367 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1832, allocations: 314.8 kB / 0.837 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.192e-05/0.1833, allocations: 15.98 kB / 0.837 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.821e-05/0.1833, allocations: 15.98 kB / 0.837 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1835, allocations: 36.83 kB / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1835, allocations: 0 / 0.837 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002189/0.1837, allocations: 81.61 kB / 0.8371 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.1837, allocations: 4 kB / 0.8371 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1837, allocations: 0 / 0.8371 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1837, allocations: 0 / 0.8371 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.1838, allocations: 15.92 kB / 0.8371 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1838, allocations: 0 / 0.8371 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.1838, allocations: 7.984 kB / 0.8372 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-06/0.1838, allocations: 0 / 0.8372 GB, free: 3.539 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.484e-05/0.1839, allocations: 114.5 kB / 0.8373 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.184, allocations: 3.938 kB / 0.8373 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.1842, allocations: 73.28 kB / 0.8373 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1842, allocations: 3.938 kB / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1842, allocations: 0 / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1842, allocations: 0 / 0.8373 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.1843, allocations: 109.3 kB / 0.8374 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1843, allocations: 0 / 0.8374 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.1844, allocations: 12.02 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1844, allocations: 3.938 kB / 0.8375 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.1844, allocations: 7.938 kB / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.1844, allocations: 0 / 0.8375 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1844, allocations: 3.984 kB / 0.8375 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1847, allocations: 159.8 kB / 0.8376 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.1847, allocations: 11.89 kB / 0.8376 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1847, allocations: 4 kB / 0.8376 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.1848, allocations: 12.02 kB / 0.8376 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1848, allocations: 4 kB / 0.8377 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1848, allocations: 0 / 0.8377 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.589e-05/0.1849, allocations: 87.27 kB / 0.8377 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1849, allocations: 0 / 0.8377 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002271/0.1851, allocations: 15.94 kB / 0.8378 GB, free: 2.859 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.0001597/0.1853, allocations: 111.2 kB / 0.8379 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.1855, allocations: 47.89 kB / 0.8379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1855, allocations: 0 / 0.8379 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.1856, allocations: 15.98 kB / 0.8379 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1858, allocations: 4.516 kB / 0.8379 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.1861, allocations: 117.5 kB / 0.838 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.656e-05/0.1862, allocations: 59.34 kB / 0.8381 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.1862, allocations: 4 kB / 0.8381 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.1862, allocations: 7.562 kB / 0.8381 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1862, allocations: 4 kB / 0.8381 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of Templates: time 0.003083/0.1893, allocations: 0.7687 MB / 0.8389 GB, free: 1.684 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: 5.96725208312273] Failed to read output from testmodel.py, exit status != 0: 0.1959705799818039 0.210491217 0.027225475000000002 Calling exit ...