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.001876/0.001876, 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.00194/0.00194, 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.00266/0.00266, allocations: 230 kB / 259.8 MB, free: 12.84 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.105/1.105, allocations: 138.4 MB / 454.7 MB, free: 1.453 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.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.703e-06/1.703e-06, allocations: 0 / 0.5544 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.283e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001551/0.001574, allocations: 0.5847 MB / 0.555 GB, free: 188 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007093/0.002283, allocations: 290.9 kB / 0.5552 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.451e-05/0.002298, allocations: 0 / 0.5552 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.002308, allocations: 4 kB / 0.5552 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.501e-06/0.002314, allocations: 3.938 kB / 0.5552 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.002766, allocations: 115.5 kB / 0.5554 GB, free: 15.78 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.623e-05/0.002803, allocations: 4 kB / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.00283, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.00285, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.424e-05/0.002874, allocations: 4 kB / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.002884, allocations: 0 / 0.5554 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004501/0.003334, allocations: 255.6 kB / 0.5556 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.003347, allocations: 7.984 kB / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.509e-05/0.003362, allocations: 3.938 kB / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.003576, allocations: 111.7 kB / 0.5557 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003578, allocations: 0 / 0.5557 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.003578, allocations: 4 kB / 0.5557 GB, free: 15.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.003582, allocations: 0 / 0.5557 GB, free: 15.39 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.0003427/0.003925, allocations: 254.2 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.003963, allocations: 8.75 kB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/0.004043, allocations: 4.938 kB / 0.556 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.004145, allocations: 105.8 kB / 0.5561 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.004156, allocations: 8.312 kB / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.004163, allocations: 384 / 0.5561 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.992e-05/0.004243, allocations: 30.27 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-06/0.00425, allocations: 192 / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004257, allocations: 384 / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.004261, allocations: 4.312 kB / 0.5561 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.004284, allocations: 7.922 kB / 0.5561 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.004413, allocations: 97.33 kB / 0.5562 GB, free: 14.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.324e-05/0.004456, allocations: 18.58 kB / 0.5562 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.004475, allocations: 8.953 kB / 0.5562 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/0.00483, allocations: 43.97 kB / 0.5563 GB, free: 14.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.004868, allocations: 34.55 kB / 0.5563 GB, free: 14.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.004869, allocations: 0 / 0.5563 GB, free: 14.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.005024, allocations: 37.64 kB / 0.5564 GB, free: 14.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.005069, allocations: 51.41 kB / 0.5564 GB, free: 14.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.921e-05/0.005128, allocations: 89.98 kB / 0.5565 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.005146, allocations: 29.7 kB / 0.5565 GB, free: 14.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.005193, allocations: 80.14 kB / 0.5566 GB, free: 14.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.005219, allocations: 7.953 kB / 0.5566 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.005251, allocations: 13.72 kB / 0.5566 GB, free: 14.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.005431, allocations: 314.8 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.365e-06/0.005439, allocations: 0 / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.279e-05/0.005452, allocations: 7.984 kB / 0.5569 GB, free: 14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.005482, allocations: 8.797 kB / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005483, allocations: 0 / 0.5569 GB, free: 13.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.295e-05/0.005566, allocations: 41.77 kB / 0.557 GB, free: 13.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.005579, allocations: 4 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005583, allocations: 0 / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.005597, allocations: 4 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.347e-05/0.005631, allocations: 0 / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.005637, allocations: 3.984 kB / 0.557 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.005651, allocations: 3.938 kB / 0.557 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005655, allocations: 0 / 0.557 GB, free: 13.92 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 8.5e-05/0.00574, allocations: 113.8 kB / 0.5571 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.00576, allocations: 3.938 kB / 0.5571 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.363e-05/0.005854, allocations: 56.61 kB / 0.5572 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005856, allocations: 0 / 0.5572 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005859, allocations: 0 / 0.5572 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.005861, allocations: 0 / 0.5572 GB, free: 13.74 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.469e-05/0.005955, allocations: 101.2 kB / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005956, allocations: 0 / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.005971, allocations: 4 kB / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.005972, allocations: 0 / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.005976, allocations: 0 / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005977, allocations: 0 / 0.5573 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005978, allocations: 4.031 kB / 0.5573 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.006077, allocations: 61.06 kB / 0.5573 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-06/0.006083, allocations: 7.938 kB / 0.5573 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.006094, allocations: 4 kB / 0.5573 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.006101, allocations: 0 / 0.5573 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.027e-05/0.006111, allocations: 0 / 0.5573 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.006113, allocations: 0 / 0.5573 GB, free: 13.51 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.387e-05/0.006157, allocations: 75.28 kB / 0.5574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006157, allocations: 0 / 0.5574 GB, free: 13.44 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001969/0.006354, allocations: 12 kB / 0.5574 GB, free: 13.43 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.0001849/0.006539, allocations: 123.1 kB / 0.5575 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.549e-05/0.006594, allocations: 4 kB / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006596, allocations: 0 / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-06/0.006604, allocations: 4 kB / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.006731, allocations: 3.125 kB / 0.5575 GB, free: 13.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.006926, allocations: 94.2 kB / 0.5576 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.006982, allocations: 55.34 kB / 0.5577 GB, free: 13.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.007001, allocations: 8.125 kB / 0.5577 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.007021, allocations: 8.5 kB / 0.5577 GB, free: 13.08 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007022, allocations: 0 / 0.5577 GB, free: 13.08 MB / 490.7 MB Notification: Performance of Templates: time 0.002784/0.009806, allocations: 488.1 kB / 0.5582 GB, free: 12.61 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.410597857087851]