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.001564/0.001564, allocations: 81.08 kB / 19.87 MB, free: 4.621 MB / 18.57 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.00183/0.00183, allocations: 169 kB / 23.28 MB, free: 1.215 MB / 18.57 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 0.9419/0.9419, allocations: 177.1 MB / 203.7 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.001604/0.001604, allocations: 244.8 kB / 260.5 MB, free: 12.68 MB / 250.7 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 0.7296/0.7296, allocations: 138.4 MB / 455.5 MB, free: 30.03 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5556 GB, free: 15.83 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.821e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001067/0.001085, allocations: 0.6045 MB / 0.5562 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004516/0.001537, allocations: 290.9 kB / 0.5565 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.001556, allocations: 4 kB / 0.5565 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.545e-05/0.001572, allocations: 3.938 kB / 0.5565 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.39e-06/0.001577, allocations: 0 / 0.5565 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.001925, allocations: 115.4 kB / 0.5566 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.446e-05/0.001959, allocations: 8 kB / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.216e-05/0.001991, allocations: 0 / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.002016, allocations: 0 / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.119e-05/0.002037, allocations: 0 / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.002048, allocations: 0 / 0.5566 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.002331, allocations: 263.6 kB / 0.5569 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.002344, allocations: 4 kB / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.648e-06/0.002354, allocations: 0 / 0.5569 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.002493, allocations: 111.8 kB / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002494, allocations: 0 / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.002495, allocations: 0 / 0.557 GB, free: 14.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.936e-06/0.002498, allocations: 0 / 0.557 GB, free: 14.43 MB / 490.7 MB 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.0002111/0.002709, allocations: 360.2 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.002743, allocations: 9.938 kB / 0.5573 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.002791, allocations: 4.938 kB / 0.5574 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.04e-05/0.002842, allocations: 112.6 kB / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.00285, allocations: 384 / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-06/0.002854, allocations: 384 / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.282e-05/0.002907, allocations: 30.27 kB / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.002913, allocations: 4.188 kB / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-06/0.002918, allocations: 384 / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.002925, allocations: 384 / 0.5575 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.219e-05/0.002937, allocations: 7.922 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.554e-05/0.003013, allocations: 101.2 kB / 0.5576 GB, free: 13.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.979e-05/0.003042, allocations: 30.98 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.769e-06/0.003052, allocations: 7.688 kB / 0.5576 GB, free: 13.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.003269, allocations: 48.06 kB / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.00329, allocations: 41.39 kB / 0.5577 GB, free: 13.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.003291, allocations: 0 / 0.5577 GB, free: 13.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 9.156e-05/0.003383, allocations: 29.7 kB / 0.5577 GB, free: 13.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.003405, allocations: 55.39 kB / 0.5578 GB, free: 13.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.219e-05/0.003437, allocations: 142.2 kB / 0.5579 GB, free: 13.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.003445, allocations: 25.7 kB / 0.558 GB, free: 13.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.00347, allocations: 130.8 kB / 0.5581 GB, free: 13.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.003492, allocations: 12.23 kB / 0.5581 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.003511, allocations: 19.5 kB / 0.5581 GB, free: 13.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.003618, allocations: 496.1 kB / 0.5586 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.003623, allocations: 4 kB / 0.5586 GB, free: 12.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.003627, allocations: 0 / 0.5586 GB, free: 12.61 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.27e-05/0.00365, allocations: 11.69 kB / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.003651, allocations: 0 / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.993e-05/0.003691, allocations: 37.69 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.0037, allocations: 4 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.003705, allocations: 4 kB / 0.5586 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.003716, allocations: 4.094 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.873e-05/0.003744, allocations: 3.938 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-06/0.003747, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-06/0.003753, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.003757, allocations: 0 / 0.5587 GB, free: 12.54 MB / 490.7 MB 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 5.275e-05/0.00381, allocations: 160.5 kB / 0.5588 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-06/0.003818, allocations: 0 / 0.5588 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.003876, allocations: 40.67 kB / 0.5588 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.003877, allocations: 4 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.003878, allocations: 4.031 kB / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.003881, allocations: 0 / 0.5589 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.103e-05/0.003932, allocations: 101.2 kB / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-07/0.003932, allocations: 0 / 0.559 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-06/0.003938, allocations: 11.94 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.003939, allocations: 0 / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.003943, allocations: 0 / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.003944, allocations: 3.984 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.003945, allocations: 0 / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.304e-05/0.003998, allocations: 72.33 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-06/0.004, allocations: 32 / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.953e-06/0.004007, allocations: 8 kB / 0.559 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.004015, allocations: 0 / 0.559 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-06/0.004025, allocations: 3.984 kB / 0.559 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-06/0.004026, allocations: 0 / 0.559 GB, free: 12.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.729e-05/0.004054, allocations: 119.2 kB / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004054, allocations: 0 / 0.5592 GB, free: 11.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001176/0.004171, allocations: 8 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB 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.0001066/0.004278, allocations: 111.2 kB / 0.5593 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.998e-05/0.004328, allocations: 27.61 kB / 0.5593 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.004329, allocations: 0 / 0.5593 GB, free: 11.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.33e-06/0.004334, allocations: 7.688 kB / 0.5593 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.329e-05/0.004418, allocations: 8.594 kB / 0.5593 GB, free: 11.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001251/0.004543, allocations: 79.95 kB / 0.5594 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.442e-05/0.004567, allocations: 55.36 kB / 0.5594 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.187e-05/0.004579, allocations: 0 / 0.5594 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.004603, allocations: 66.2 kB / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004604, allocations: 0 / 0.5595 GB, free: 11.54 MB / 490.7 MB Notification: Performance of Templates: time 0.00172/0.006324, allocations: 0.5475 MB / 0.56 GB, free: 11 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.555734348949045]