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.001513/0.001513, allocations: 93.06 kB / 19.65 MB, free: 276 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.001633/0.001633, allocations: 169 kB / 23.02 MB, free: 1.547 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.9878/0.9878, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001653/0.001653, allocations: 246.2 kB / 260.2 MB, free: 12.82 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.7317/0.7317, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.293e-06/1.293e-06, allocations: 0 / 0.5552 GB, free: 468 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.569e-05, allocations: 2.312 kB / 0.5552 GB, free: 464 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001156/0.001182, allocations: 0.608 MB / 0.5558 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004592/0.001641, allocations: 298.8 kB / 0.5561 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.001655, allocations: 0 / 0.5561 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.001672, allocations: 0 / 0.5561 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.142e-06/0.001678, allocations: 0 / 0.5561 GB, free: 15.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.002045, allocations: 111.6 kB / 0.5562 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.198e-05/0.002087, allocations: 7.938 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.044e-05/0.002118, allocations: 3.984 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.007e-05/0.002138, allocations: 0 / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.68e-05/0.002155, allocations: 0 / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.002168, allocations: 4 kB / 0.5562 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.002441, allocations: 255.6 kB / 0.5564 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.002453, allocations: 0 / 0.5564 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.355e-05/0.002467, allocations: 4 kB / 0.5564 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.002618, allocations: 107.8 kB / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.00262, allocations: 0 / 0.5565 GB, free: 15.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.002621, allocations: 4 kB / 0.5565 GB, free: 15.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.002625, allocations: 0 / 0.5565 GB, free: 15.06 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.0002333/0.002859, allocations: 360.2 kB / 0.5569 GB, free: 14.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.002891, allocations: 8.75 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.002961, allocations: 4.938 kB / 0.5569 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.277e-05/0.003013, allocations: 108.6 kB / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.003023, allocations: 384 / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.003029, allocations: 384 / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.915e-05/0.003098, allocations: 38.19 kB / 0.557 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.003105, allocations: 192 / 0.557 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/0.003359, allocations: 8.359 kB / 0.557 GB, free: 14.48 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.003366, allocations: 4.312 kB / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.28e-05/0.003379, allocations: 3.938 kB / 0.557 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.418e-05/0.003473, allocations: 108.6 kB / 0.5572 GB, free: 14.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.464e-05/0.003508, allocations: 27.06 kB / 0.5572 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.003522, allocations: 7.688 kB / 0.5572 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.003767, allocations: 52.05 kB / 0.5572 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.003788, allocations: 41.33 kB / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.003789, allocations: 0 / 0.5573 GB, free: 14.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.003918, allocations: 29.7 kB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.364e-05/0.003941, allocations: 51.41 kB / 0.5574 GB, free: 14.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.319e-05/0.003974, allocations: 142.2 kB / 0.5575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.003983, allocations: 29.7 kB / 0.5575 GB, free: 13.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.004007, allocations: 126.9 kB / 0.5576 GB, free: 13.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.004033, allocations: 12.23 kB / 0.5576 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/0.004053, allocations: 15.38 kB / 0.5577 GB, free: 13.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.004148, allocations: 0.4924 MB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-06/0.004156, allocations: 4 kB / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.004161, allocations: 0 / 0.5581 GB, free: 13.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.004184, allocations: 15.62 kB / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004185, allocations: 0 / 0.5582 GB, free: 13.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.076e-05/0.004236, allocations: 33.7 kB / 0.5582 GB, free: 13.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.004248, allocations: 8 kB / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.004251, allocations: 0 / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.004261, allocations: 0 / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.915e-05/0.004301, allocations: 0 / 0.5582 GB, free: 13.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.004306, allocations: 8.078 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-06/0.004314, allocations: 7.938 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.004319, allocations: 0 / 0.5582 GB, free: 13.14 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 6.176e-05/0.004381, allocations: 152.6 kB / 0.5584 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.004395, allocations: 4 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.00446, allocations: 36.64 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.004461, allocations: 0 / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.004466, allocations: 3.984 kB / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.004468, allocations: 0 / 0.5584 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.269e-05/0.004521, allocations: 120.5 kB / 0.5585 GB, free: 12.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.004523, allocations: 8 kB / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.003e-05/0.004533, allocations: 0 / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.004535, allocations: 0 / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.00454, allocations: 0 / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.004541, allocations: 0 / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.004541, allocations: 0 / 0.5585 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.627e-05/0.004598, allocations: 76.31 kB / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.004602, allocations: 4 kB / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.004609, allocations: 0 / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-06/0.004612, allocations: 32 / 0.5586 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.004624, allocations: 4 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.004626, allocations: 0 / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.004651, allocations: 119.2 kB / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004651, allocations: 4 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001222/0.004773, allocations: 12 kB / 0.5587 GB, free: 12.53 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.0001256/0.004899, allocations: 119.1 kB / 0.5588 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.228e-05/0.004961, allocations: 11.69 kB / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.004963, allocations: 0 / 0.5589 GB, free: 12.39 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-06/0.00497, allocations: 19.69 kB / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.705e-05/0.005057, allocations: 0 / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001569/0.005214, allocations: 95.92 kB / 0.559 GB, free: 12.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.005246, allocations: 51.36 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.497e-05/0.005261, allocations: 0 / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.005275, allocations: 8.5 kB / 0.559 GB, free: 12.17 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.005276, allocations: 0 / 0.559 GB, free: 12.17 MB / 490.7 MB Notification: Performance of Templates: time 0.001978/0.007254, allocations: 0.539 MB / 0.5596 GB, free: 11.63 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.6237277006730437]