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.001373/0.001373, allocations: 88.72 kB / 19.44 MB, free: 356 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.00149/0.00149, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.574 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.0026/0.0026, allocations: 245.3 kB / 259.8 MB, free: 12.81 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.083/1.083, allocations: 138.5 MB / 454.7 MB, free: 1.477 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 1.964e-06/1.964e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.305e-05, allocations: 5.406 kB / 0.5544 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002883/0.002916, allocations: 1.456 MB / 0.5558 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007925/0.003709, allocations: 359.6 kB / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.888e-05/0.003737, allocations: 0 / 0.5561 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.003767, allocations: 3.938 kB / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.003808, allocations: 0 / 0.5561 GB, free: 15.01 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004609/0.004269, allocations: 123.5 kB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.004335, allocations: 19.94 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.00441, allocations: 7.984 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.004462, allocations: 8 kB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.004506, allocations: 23.91 kB / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.00452, allocations: 0 / 0.5563 GB, free: 14.83 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004341/0.004954, allocations: 259.6 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.004974, allocations: 11.92 kB / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.004994, allocations: 0 / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.005252, allocations: 135.7 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.005255, allocations: 3.938 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.005256, allocations: 0 / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.00526, allocations: 4 kB / 0.5567 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005073/0.005767, allocations: 286 kB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.005806, allocations: 12.75 kB / 0.557 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.005892, allocations: 8.891 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.006006, allocations: 105.8 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.006017, allocations: 4.375 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.006025, allocations: 384 / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.00622, allocations: 54.17 kB / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.006227, allocations: 192 / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.00624, allocations: 4.359 kB / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.006245, allocations: 384 / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.00643, allocations: 43.91 kB / 0.5572 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.006774, allocations: 200.6 kB / 0.5574 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.006918, allocations: 38.5 kB / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.653e-05/0.007015, allocations: 20.89 kB / 0.5574 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005716/0.007587, allocations: 79.92 kB / 0.5575 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.007619, allocations: 30.56 kB / 0.5575 GB, free: 13.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.00762, allocations: 0 / 0.5575 GB, free: 13.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004054/0.008026, allocations: 89.7 kB / 0.5576 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.008069, allocations: 55.41 kB / 0.5577 GB, free: 13.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.615e-05/0.008165, allocations: 105.8 kB / 0.5578 GB, free: 13.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.008184, allocations: 25.7 kB / 0.5578 GB, free: 13.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.008247, allocations: 88.08 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.008265, allocations: 3.953 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.008298, allocations: 17.66 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.008587, allocations: 318.8 kB / 0.5582 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.008678, allocations: 15.98 kB / 0.5582 GB, free: 12.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.00876, allocations: 20.23 kB / 0.5582 GB, free: 12.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.008926, allocations: 40.81 kB / 0.5583 GB, free: 12.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.00893, allocations: 7.938 kB / 0.5583 GB, free: 12.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002317/0.009162, allocations: 65.62 kB / 0.5584 GB, free: 12.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.009176, allocations: 8 kB / 0.5584 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.009185, allocations: 7.922 kB / 0.5584 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.009204, allocations: 4.094 kB / 0.5584 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.009298, allocations: 19.92 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.009303, allocations: 0 / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.009361, allocations: 7.984 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.009367, allocations: 0 / 0.5584 GB, free: 12.5 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 8.648e-05/0.009453, allocations: 105.8 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/0.009501, allocations: 4 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.009753, allocations: 77.22 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.009755, allocations: 4.031 kB / 0.5586 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.009761, allocations: 3.984 kB / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.009764, allocations: 0 / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.009913, allocations: 105.3 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.009914, allocations: 0 / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.009979, allocations: 7.984 kB / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.009982, allocations: 0 / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.009988, allocations: 0 / 0.5587 GB, free: 12.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.009994, allocations: 7.938 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.009997, allocations: 3.938 kB / 0.5587 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.01031, allocations: 167.5 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.01032, allocations: 4 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.01033, allocations: 0 / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.01042, allocations: 11.92 kB / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.01045, allocations: 0 / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-06/0.01046, allocations: 0 / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.01052, allocations: 91.27 kB / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 0.559 GB, free: 11.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.01077, allocations: 15.97 kB / 0.559 GB, free: 11.84 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.0001885/0.01096, allocations: 115.2 kB / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.01118, allocations: 35.91 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.01118, allocations: 4 kB / 0.5591 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.01127, allocations: 15.98 kB / 0.5591 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.01156, allocations: 11.92 kB / 0.5592 GB, free: 11.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.01188, allocations: 123.9 kB / 0.5593 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.726e-05/0.01195, allocations: 59.36 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.763e-05/0.01197, allocations: 3.984 kB / 0.5593 GB, free: 11.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.012, allocations: 12.5 kB / 0.5593 GB, free: 11.41 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.012, allocations: 0 / 0.5593 GB, free: 11.41 MB / 490.7 MB Notification: Performance of Templates: time 0.003497/0.0155, allocations: 0.7735 MB / 0.5601 GB, free: 10.64 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.428261075052433]