Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009313/0.0009313, allocations: 90.19 kB / 16.67 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009551/0.0009551, allocations: 181.3 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 241.6 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7901/0.7901, allocations: 115.5 MB / 408.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3507, allocations: 77.51 MB / 0.5606 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006511/0.3514, allocations: 330.5 kB / 0.5609 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002803/0.3517, allocations: 86.91 kB / 0.561 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.01e-05/0.3517, allocations: 1.688 kB / 0.561 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.3517, allocations: 0 / 0.561 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.458e-05/0.3518, allocations: 1.125 kB / 0.561 GB, free: 36.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.3519, allocations: 14.86 kB / 0.561 GB, free: 36.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.886e-05/0.352, allocations: 10.8 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.352, allocations: 1.797 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.352, allocations: 2.812 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.3521, allocations: 7.281 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3521, allocations: 2.156 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.3522, allocations: 13.52 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.3522, allocations: 3.547 kB / 0.561 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.21e-05/0.3522, allocations: 26.5 kB / 0.5611 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.612e-05/0.3523, allocations: 14.5 kB / 0.5611 GB, free: 35.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3523, allocations: 4 kB / 0.5611 GB, free: 35.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3523, allocations: 2.797 kB / 0.5611 GB, free: 35.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.3523, allocations: 2.656 kB / 0.5611 GB, free: 35.97 MB / 446.1 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.0002348/0.3526, allocations: 309.2 kB / 0.5614 GB, free: 35.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3526, allocations: 14.19 kB / 0.5614 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.3528, allocations: 8.953 kB / 0.5614 GB, free: 35.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.397e-05/0.3528, allocations: 163.1 kB / 0.5616 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3529, allocations: 2.406 kB / 0.5616 GB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.3529, allocations: 5.625 kB / 0.5616 GB, free: 35.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.353, allocations: 45.55 kB / 0.5616 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-06/0.353, allocations: 192 / 0.5616 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.353, allocations: 4.781 kB / 0.5616 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.353, allocations: 1.25 kB / 0.5616 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.9e-05/0.3531, allocations: 15.19 kB / 0.5616 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000105/0.3532, allocations: 147.9 kB / 0.5618 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3534, allocations: 44.92 kB / 0.5618 GB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.436e-05/0.3534, allocations: 11.58 kB / 0.5618 GB, free: 35.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.3535, allocations: 2.562 kB / 0.5618 GB, free: 35.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.3535, allocations: 36.38 kB / 0.5619 GB, free: 35.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3535, allocations: 1 kB / 0.5619 GB, free: 35.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000196/0.3537, allocations: 60.56 kB / 0.5619 GB, free: 35.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.3537, allocations: 52.73 kB / 0.562 GB, free: 35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.469e-05/0.3537, allocations: 90.7 kB / 0.5621 GB, free: 34.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.3538, allocations: 26.7 kB / 0.5621 GB, free: 34.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-06/0.3538, allocations: 84.83 kB / 0.5622 GB, free: 34.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3538, allocations: 9.078 kB / 0.5622 GB, free: 34.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.3538, allocations: 12.03 kB / 0.5622 GB, free: 34.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.075e-05/0.3539, allocations: 316.9 kB / 0.5625 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.3539, allocations: 5.547 kB / 0.5625 GB, free: 34.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.354, allocations: 7.297 kB / 0.5625 GB, free: 34.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.354, allocations: 31.95 kB / 0.5625 GB, free: 34.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3541, allocations: 0 / 0.5625 GB, free: 34.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001018/0.3542, allocations: 50.81 kB / 0.5626 GB, free: 34.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.3542, allocations: 6.125 kB / 0.5626 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3542, allocations: 0.75 kB / 0.5626 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3542, allocations: 3.938 kB / 0.5626 GB, free: 34.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.3546, allocations: 47.56 kB / 0.5626 GB, free: 34.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009576/0.3556, allocations: 1.307 MB / 0.5639 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.021e-05/0.3556, allocations: 6.781 kB / 0.5639 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3556, allocations: 1.312 kB / 0.5639 GB, free: 33.04 MB / 446.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.3557, allocations: 109.5 kB / 0.564 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-06/0.3557, allocations: 5.594 kB / 0.564 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.392e-05/0.3557, allocations: 9.297 kB / 0.564 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3557, allocations: 0 / 0.564 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3557, allocations: 5.609 kB / 0.5641 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.3557, allocations: 0 / 0.5641 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.965e-05/0.3558, allocations: 156.7 kB / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3558, allocations: 0 / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.3562, allocations: 47.78 kB / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3562, allocations: 0.7188 kB / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3562, allocations: 2.484 kB / 0.5642 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008333/0.3571, allocations: 1.315 MB / 0.5655 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3571, allocations: 0 / 0.5655 GB, free: 31.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.3572, allocations: 83.06 kB / 0.5656 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.417e-05/0.3572, allocations: 79.17 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-06/0.3572, allocations: 0.75 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.653e-05/0.3573, allocations: 3.094 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.3573, allocations: 5.734 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.3573, allocations: 3.922 kB / 0.5657 GB, free: 31.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.168e-05/0.3573, allocations: 75.28 kB / 0.5658 GB, free: 31.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3573, allocations: 0 / 0.5658 GB, free: 31.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.3575, allocations: 4.406 kB / 0.5658 GB, free: 31.12 MB / 446.1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.3576, allocations: 102.2 kB / 0.5659 GB, free: 31.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004647/0.3581, allocations: 61 kB / 0.5659 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3581, allocations: 6.062 kB / 0.5659 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.3585, allocations: 54.98 kB / 0.566 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3587, allocations: 9.781 kB / 0.566 GB, free: 31.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.359, allocations: 115.2 kB / 0.5661 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.347e-05/0.3591, allocations: 0.6738 MB / 0.5668 GB, free: 30.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.3591, allocations: 9.406 kB / 0.5668 GB, free: 30.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3591, allocations: 1.656 kB / 0.5668 GB, free: 30.18 MB / 446.1 MB Notification: Performance of Templates: time 0.002104/0.3612, allocations: 0.5854 MB / 0.5674 GB, free: 30.18 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)