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.001621/0.001621, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001738/0.001738, allocations: 213.2 kB / 23 MB, free: 4.566 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002505/0.002505, allocations: 292.9 kB / 313.5 MB, free: 2.82 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.159/1.159, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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.00278/0.00278, allocations: 103.8 kB / 0.7409 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1716, allocations: 95.38 MB / 0.834 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001725/0.1733, allocations: 0.5921 MB / 0.8346 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.174, allocations: 331.2 kB / 0.8349 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.174, allocations: 3.938 kB / 0.8349 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.188e-05/0.174, allocations: 0 / 0.8349 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-06/0.174, allocations: 4 kB / 0.8349 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1744, allocations: 113.6 kB / 0.835 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.389e-05/0.1745, allocations: 4 kB / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.1745, allocations: 0 / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.244e-05/0.1745, allocations: 0 / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.153e-05/0.1746, allocations: 0 / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.894e-06/0.1746, allocations: 0 / 0.835 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.175, allocations: 279.6 kB / 0.8353 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.747e-06/0.175, allocations: 4 kB / 0.8353 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.175, allocations: 4 kB / 0.8353 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1752, allocations: 83.73 kB / 0.8354 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1752, allocations: 0 / 0.8354 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.537e-06/0.1752, allocations: 4 kB / 0.8354 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1752, allocations: 0 / 0.8354 GB, free: 6.746 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.0003125/0.1755, allocations: 262.2 kB / 0.8356 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1755, allocations: 9.344 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.1756, allocations: 0.9375 kB / 0.8356 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.498e-05/0.1757, allocations: 110.5 kB / 0.8357 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1757, allocations: 4.375 kB / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.1757, allocations: 384 / 0.8357 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.378e-05/0.1758, allocations: 26.27 kB / 0.8358 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1758, allocations: 8.172 kB / 0.8358 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.1758, allocations: 7.938 kB / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1758, allocations: 0 / 0.8358 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.752e-05/0.1758, allocations: 7.875 kB / 0.8358 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.176, allocations: 120.8 kB / 0.8359 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.176, allocations: 18.58 kB / 0.8359 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.359e-05/0.176, allocations: 4.859 kB / 0.8359 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.1764, allocations: 44.03 kB / 0.836 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1764, allocations: 30.56 kB / 0.836 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1764, allocations: 4 kB / 0.836 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001441/0.1765, allocations: 41.56 kB / 0.836 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1766, allocations: 51.41 kB / 0.8361 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.986e-05/0.1766, allocations: 93.86 kB / 0.8362 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1766, allocations: 25.7 kB / 0.8362 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.1767, allocations: 84.12 kB / 0.8363 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.1767, allocations: 0 / 0.8363 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1767, allocations: 13.72 kB / 0.8363 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1769, allocations: 319 kB / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.266e-06/0.1769, allocations: 0 / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.1769, allocations: 0 / 0.8366 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.1769, allocations: 12.84 kB / 0.8366 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1769, allocations: 0 / 0.8366 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.121e-05/0.177, allocations: 33.64 kB / 0.8366 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.177, allocations: 8 kB / 0.8366 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.177, allocations: 0 / 0.8366 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.177, allocations: 8.031 kB / 0.8367 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.46e-05/0.177, allocations: 7.938 kB / 0.8367 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.177, allocations: 0 / 0.8367 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-06/0.1771, allocations: 0 / 0.8367 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.1771, allocations: 4 kB / 0.8367 GB, free: 5.227 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 6.994e-05/0.1771, allocations: 110.5 kB / 0.8368 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.1771, allocations: 3.984 kB / 0.8368 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.713e-05/0.1772, allocations: 40.58 kB / 0.8368 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.1772, allocations: 8.031 kB / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1772, allocations: 0 / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1772, allocations: 0 / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.06e-05/0.1773, allocations: 120.8 kB / 0.8369 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1773, allocations: 0 / 0.8369 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.1773, allocations: 4 kB / 0.8369 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.1773, allocations: 0 / 0.8369 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1774, allocations: 3.938 kB / 0.8369 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1774, allocations: 0 / 0.8369 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1774, allocations: 0 / 0.8369 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.852e-05/0.1774, allocations: 65.12 kB / 0.837 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-06/0.1774, allocations: 4 kB / 0.837 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.1775, allocations: 7.875 kB / 0.837 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-06/0.1775, allocations: 0 / 0.837 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.1775, allocations: 7.938 kB / 0.837 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.1775, allocations: 0 / 0.837 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.1775, allocations: 75.28 kB / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1775, allocations: 0 / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001904/0.1777, allocations: 15.97 kB / 0.8371 GB, free: 4.691 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.0001678/0.1779, allocations: 107.2 kB / 0.8372 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.25e-05/0.1779, allocations: 4 kB / 0.8372 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1779, allocations: 0 / 0.8372 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.25e-06/0.1779, allocations: 0 / 0.8372 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1781, allocations: 6.188 kB / 0.8372 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.1783, allocations: 112.5 kB / 0.8373 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1786, allocations: 0.6767 MB / 0.838 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.1786, allocations: 7.438 kB / 0.838 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1786, allocations: 0 / 0.838 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of Templates: time 0.001871/0.1805, allocations: 479.5 kB / 0.8385 GB, free: 3.246 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.81599837122485] Failed to read output from testmodel.py, exit status != 0: 0.18754183780401945 0.20160249400000002 0.023600887 Calling exit ...