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.00175/0.00175, allocations: 85.48 kB / 19.44 MB, free: 348 kB / 13.93 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.001991/0.001991, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 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.003332/0.003332, allocations: 226.6 kB / 259.8 MB, free: 12.86 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 1.163/1.163, allocations: 138.4 MB / 454.7 MB, free: 1.516 MB / 362.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.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: Performance of FrontEnd - loaded program: time 4.358e-06/4.358e-06, allocations: 3.984 kB / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/3.223e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002742/0.002775, allocations: 1.468 MB / 0.5558 GB, free: 15.42 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.003572, allocations: 367.6 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.003602, allocations: 0 / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.003631, allocations: 7.922 kB / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.217e-05/0.003683, allocations: 0 / 0.5561 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.004123, allocations: 119.6 kB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.004202, allocations: 31.86 kB / 0.5563 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.681e-05/0.004289, allocations: 0 / 0.5563 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.004348, allocations: 11.98 kB / 0.5563 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.325e-05/0.004391, allocations: 15.97 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.004409, allocations: 4 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.004816, allocations: 255.6 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.873e-05/0.004835, allocations: 11.94 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.004857, allocations: 7.984 kB / 0.5566 GB, free: 14.6 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.005123, allocations: 139.6 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.005126, allocations: 0 / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005127, allocations: 0 / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005132, allocations: 0 / 0.5567 GB, free: 14.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005728/0.005705, allocations: 384 kB / 0.5571 GB, free: 14.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.00575, allocations: 8.75 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.656e-05/0.005847, allocations: 12.88 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.005969, allocations: 108.6 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.005983, allocations: 4.375 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.005994, allocations: 8.375 kB / 0.5572 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.006147, allocations: 38.25 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.006157, allocations: 192 / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006167, allocations: 4.375 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.006174, allocations: 8.312 kB / 0.5572 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.006289, allocations: 23.92 kB / 0.5573 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.00666, allocations: 255.8 kB / 0.5575 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.006775, allocations: 39.05 kB / 0.5575 GB, free: 13.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.006846, allocations: 27.73 kB / 0.5576 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008046/0.007651, allocations: 71.92 kB / 0.5576 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.007692, allocations: 41.31 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.007693, allocations: 0 / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003211/0.008014, allocations: 73.62 kB / 0.5578 GB, free: 13.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.008067, allocations: 51.41 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.0082, allocations: 170.1 kB / 0.558 GB, free: 12.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.008219, allocations: 25.7 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.616e-05/0.008305, allocations: 134.8 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.228e-05/0.008328, allocations: 11.94 kB / 0.5581 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.008371, allocations: 19.38 kB / 0.5581 GB, free: 12.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002591/0.00863, allocations: 496.1 kB / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-05/0.00869, allocations: 11.98 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.878e-05/0.008739, allocations: 20.19 kB / 0.5586 GB, free: 12.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.008839, allocations: 31.61 kB / 0.5587 GB, free: 12.22 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.00884, allocations: 4 kB / 0.5587 GB, free: 12.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.009013, allocations: 61.62 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.009028, allocations: 6.656 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.009035, allocations: 3.938 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.009047, allocations: 0 / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.009113, allocations: 8.094 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.009118, allocations: 0 / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.179e-05/0.009149, allocations: 4 kB / 0.5588 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.009155, allocations: 0 / 0.5588 GB, free: 12.13 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 (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 0.0001188/0.009274, allocations: 168.5 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.009309, allocations: 3.938 kB / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.009497, allocations: 69.23 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.009499, allocations: 0 / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.009502, allocations: 0 / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009505, allocations: 4.031 kB / 0.559 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.009669, allocations: 120.6 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.009669, allocations: 0 / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.067e-05/0.00971, allocations: 4 kB / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.009712, allocations: 0 / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.009719, allocations: 0 / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.009723, allocations: 7.938 kB / 0.5591 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009724, allocations: 0 / 0.5591 GB, free: 11.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.009996, allocations: 207.8 kB / 0.5593 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-06/0.01, allocations: 0 / 0.5593 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.01002, allocations: 12.03 kB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/0.01008, allocations: 3.938 kB / 0.5593 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.01012, allocations: 7.984 kB / 0.5593 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.01012, allocations: 0 / 0.5593 GB, free: 11.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.927e-05/0.0102, allocations: 131.2 kB / 0.5595 GB, free: 11.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0102, allocations: 0 / 0.5595 GB, free: 11.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.01043, allocations: 15.94 kB / 0.5595 GB, free: 11.32 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 (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.0001941/0.01062, allocations: 111.2 kB / 0.5596 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.0108, allocations: 39.67 kB / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0108, allocations: 0 / 0.5596 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.01089, allocations: 27.61 kB / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01112, allocations: 4 kB / 0.5597 GB, free: 11.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.01143, allocations: 117.4 kB / 0.5598 GB, free: 10.99 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.959e-05/0.0115, allocations: 63.34 kB / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.132e-05/0.01152, allocations: 0 / 0.5598 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.01155, allocations: 12.62 kB / 0.5598 GB, free: 10.89 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01155, allocations: 4 kB / 0.5598 GB, free: 10.89 MB / 490.7 MB Notification: Performance of Templates: time 0.003809/0.01536, allocations: 0.7744 MB / 0.5606 GB, free: 10.12 MB / 490.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.718397977994755]