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.00151/0.00151, allocations: 106.4 kB / 16.52 MB, free: 6.27 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.001711/0.001711, allocations: 197 kB / 17.44 MB, free: 5.887 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 115.3 MB / 406.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002554/0.002554, allocations: 67.89 kB / 493.6 MB, free: 0.8086 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3785, allocations: 76.17 MB / 0.5564 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.00164/0.3802, allocations: 0.6417 MB / 0.557 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003016/0.3805, allocations: 93.27 kB / 0.5571 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.161e-05/0.3805, allocations: 1.656 kB / 0.5571 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.3806, allocations: 0 / 0.5571 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.3806, allocations: 2.062 kB / 0.5571 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.3808, allocations: 11.92 kB / 0.5571 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.395e-05/0.3809, allocations: 5.359 kB / 0.5571 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.3809, allocations: 6.484 kB / 0.5571 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.055e-05/0.3809, allocations: 12.48 kB / 0.5571 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.381, allocations: 6.688 kB / 0.5572 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.381, allocations: 0 / 0.5572 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.3811, allocations: 14.17 kB / 0.5572 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.3811, allocations: 3.75 kB / 0.5572 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.159e-05/0.3811, allocations: 5.328 kB / 0.5572 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.063e-05/0.3812, allocations: 9.141 kB / 0.5572 GB, free: 36.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3812, allocations: 0 / 0.5572 GB, free: 36.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3812, allocations: 0 / 0.5572 GB, free: 36.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.306e-06/0.3812, allocations: 3.938 kB / 0.5572 GB, free: 36.07 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.0002691/0.3815, allocations: 320.2 kB / 0.5575 GB, free: 35.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3815, allocations: 12.81 kB / 0.5575 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.3817, allocations: 10.75 kB / 0.5575 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.249e-05/0.3818, allocations: 163.9 kB / 0.5577 GB, free: 35.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3818, allocations: 384 / 0.5577 GB, free: 35.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3818, allocations: 2.188 kB / 0.5577 GB, free: 35.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3819, allocations: 37.72 kB / 0.5577 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3819, allocations: 192 / 0.5577 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3819, allocations: 7.734 kB / 0.5577 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3819, allocations: 1.031 kB / 0.5577 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.411e-05/0.382, allocations: 18.36 kB / 0.5577 GB, free: 35.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.3821, allocations: 155.2 kB / 0.5579 GB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.3823, allocations: 38.31 kB / 0.5579 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.3824, allocations: 18.41 kB / 0.5579 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.3824, allocations: 4.734 kB / 0.5579 GB, free: 35.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3824, allocations: 32.56 kB / 0.558 GB, free: 35.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.3824, allocations: 1.406 kB / 0.558 GB, free: 35.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001899/0.3826, allocations: 64.02 kB / 0.558 GB, free: 35.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.005e-05/0.3826, allocations: 52.78 kB / 0.5581 GB, free: 35.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.676e-05/0.3826, allocations: 92.95 kB / 0.5582 GB, free: 34.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.3827, allocations: 25.7 kB / 0.5582 GB, free: 34.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.214e-05/0.3827, allocations: 80.73 kB / 0.5583 GB, free: 34.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3827, allocations: 7.578 kB / 0.5583 GB, free: 34.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.3827, allocations: 20.31 kB / 0.5583 GB, free: 34.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.448e-05/0.3828, allocations: 313.2 kB / 0.5586 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.745e-05/0.3828, allocations: 5.375 kB / 0.5586 GB, free: 34.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.3829, allocations: 7.734 kB / 0.5586 GB, free: 34.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.441e-05/0.383, allocations: 26.03 kB / 0.5586 GB, free: 34.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.383, allocations: 2.812 kB / 0.5586 GB, free: 34.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.745e-05/0.3831, allocations: 56.7 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3831, allocations: 5.125 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3831, allocations: 1.344 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.3831, allocations: 3.938 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.3835, allocations: 42.11 kB / 0.5587 GB, free: 34.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009209/0.3844, allocations: 1.312 MB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.693e-05/0.3845, allocations: 7.594 kB / 0.56 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.3845, allocations: 1.406 kB / 0.56 GB, free: 33.14 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 4.897e-05/0.3845, allocations: 110 kB / 0.5601 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.3845, allocations: 5.844 kB / 0.5601 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.293e-05/0.3846, allocations: 8.688 kB / 0.5602 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3846, allocations: 3.938 kB / 0.5602 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.3846, allocations: 1.125 kB / 0.5602 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3846, allocations: 0 / 0.5602 GB, free: 33.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.794e-05/0.3846, allocations: 154.8 kB / 0.5603 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3846, allocations: 0 / 0.5603 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.385, allocations: 51.02 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.385, allocations: 0 / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.385, allocations: 3.109 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008285/0.3859, allocations: 1.307 MB / 0.5616 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3859, allocations: 5.078 kB / 0.5616 GB, free: 31.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.386, allocations: 77.31 kB / 0.5617 GB, free: 31.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.386, allocations: 83.11 kB / 0.5618 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-06/0.386, allocations: 9.125 kB / 0.5618 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.3861, allocations: 7.953 kB / 0.5618 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.3861, allocations: 2.891 kB / 0.5618 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3861, allocations: 1.344 kB / 0.5618 GB, free: 31.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.344e-05/0.3861, allocations: 76.12 kB / 0.5619 GB, free: 31.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3861, allocations: 0 / 0.5619 GB, free: 31.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001964/0.3863, allocations: 3.188 kB / 0.5619 GB, free: 31.21 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.0001058/0.3864, allocations: 105.6 kB / 0.562 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.3869, allocations: 60.05 kB / 0.562 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3869, allocations: 0.625 kB / 0.562 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003961/0.3873, allocations: 63.8 kB / 0.5621 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.3874, allocations: 2.062 kB / 0.5621 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.3877, allocations: 121 kB / 0.5622 GB, free: 30.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.3878, allocations: 0.6739 MB / 0.5629 GB, free: 30.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.764e-05/0.3879, allocations: 9.219 kB / 0.5629 GB, free: 30.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3879, allocations: 1.25 kB / 0.5629 GB, free: 30.27 MB / 446.1 MB Notification: Performance of Templates: time 0.00182/0.3897, allocations: 0.5829 MB / 0.5635 GB, free: 30.27 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)