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.001576/0.001577, allocations: 104.2 kB / 16.27 MB, free: 6.012 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.001769/0.00177, allocations: 190.4 kB / 17.19 MB, free: 5.641 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7782/0.7782, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 59.91 kB / 0.4911 GB, free: 7.391 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3782, allocations: 77.93 MB / 0.5672 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001915/0.3801, allocations: 0.578 MB / 0.5678 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002956/0.3804, allocations: 91.62 kB / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.3805, allocations: 0.5625 kB / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3805, allocations: 0 / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.3806, allocations: 1.938 kB / 0.5679 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3808, allocations: 22.67 kB / 0.5679 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.3808, allocations: 8.422 kB / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.36e-05/0.3809, allocations: 3.781 kB / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.3809, allocations: 1.312 kB / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.381, allocations: 8.844 kB / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.381, allocations: 0 / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.3811, allocations: 17.3 kB / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3811, allocations: 0 / 0.5679 GB, free: 32.29 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.3811, allocations: 12.55 kB / 0.568 GB, free: 32.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.3812, allocations: 14.91 kB / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3812, allocations: 3.938 kB / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3812, allocations: 0 / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3813, allocations: 0 / 0.568 GB, free: 32.27 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.0002772/0.3815, allocations: 312.9 kB / 0.5683 GB, free: 31.92 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3816, allocations: 10.67 kB / 0.5683 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3817, allocations: 11.28 kB / 0.5683 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.396e-05/0.3818, allocations: 161 kB / 0.5685 GB, free: 31.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3818, allocations: 6.438 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.3818, allocations: 2.828 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.382, allocations: 40.22 kB / 0.5685 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.382, allocations: 1.375 kB / 0.5685 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.382, allocations: 7.922 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.382, allocations: 2.047 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.345e-05/0.3821, allocations: 15.53 kB / 0.5685 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001103/0.3822, allocations: 152.1 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.3824, allocations: 40.42 kB / 0.5687 GB, free: 31.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.471e-05/0.3824, allocations: 13.05 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3825, allocations: 3.938 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3825, allocations: 37.89 kB / 0.5688 GB, free: 31.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3825, allocations: 0 / 0.5688 GB, free: 31.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002047/0.3827, allocations: 58.3 kB / 0.5688 GB, free: 31.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.3827, allocations: 52.53 kB / 0.5689 GB, free: 31.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.749e-05/0.3828, allocations: 89.86 kB / 0.569 GB, free: 31.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.3828, allocations: 26.27 kB / 0.569 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.3828, allocations: 82.86 kB / 0.5691 GB, free: 31.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.3828, allocations: 15.62 kB / 0.5691 GB, free: 31.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3829, allocations: 13.78 kB / 0.5691 GB, free: 31.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.3829, allocations: 317.2 kB / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.383, allocations: 13.91 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.383, allocations: 10.25 kB / 0.5694 GB, free: 30.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.943e-05/0.3831, allocations: 22.67 kB / 0.5694 GB, free: 30.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3831, allocations: 0 / 0.5694 GB, free: 30.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/0.3832, allocations: 49.23 kB / 0.5695 GB, free: 30.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3832, allocations: 8.562 kB / 0.5695 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3832, allocations: 0 / 0.5695 GB, free: 30.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3833, allocations: 8.812 kB / 0.5695 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/0.3837, allocations: 43.41 kB / 0.5695 GB, free: 30.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.3847, allocations: 1.406 MB / 0.5709 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.803e-05/0.3848, allocations: 1.031 kB / 0.5709 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.3848, allocations: 1.125 kB / 0.5709 GB, free: 29.25 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.382e-05/0.3848, allocations: 116.1 kB / 0.571 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.3849, allocations: 5.078 kB / 0.571 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.428e-05/0.3849, allocations: 5.109 kB / 0.571 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.3849, allocations: 0 / 0.571 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3849, allocations: 2.656 kB / 0.571 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.3849, allocations: 0 / 0.571 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.656e-05/0.385, allocations: 164.2 kB / 0.5712 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.385, allocations: 5 kB / 0.5712 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003903/0.3854, allocations: 48.78 kB / 0.5712 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.3854, allocations: 0 / 0.5712 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.3854, allocations: 1.781 kB / 0.5712 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009/0.3863, allocations: 1.409 MB / 0.5726 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3863, allocations: 4.562 kB / 0.5726 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.3864, allocations: 71.8 kB / 0.5727 GB, free: 27.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.3865, allocations: 81.7 kB / 0.5728 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-06/0.3865, allocations: 6.719 kB / 0.5728 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/0.3865, allocations: 7.516 kB / 0.5728 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.3865, allocations: 3.234 kB / 0.5728 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.3865, allocations: 0 / 0.5728 GB, free: 27.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.833e-05/0.3866, allocations: 79.41 kB / 0.5729 GB, free: 27.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3866, allocations: 0 / 0.5729 GB, free: 27.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.3868, allocations: 2.719 kB / 0.5729 GB, free: 27.22 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.0001146/0.3869, allocations: 97.55 kB / 0.573 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004981/0.3874, allocations: 72.84 kB / 0.573 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3874, allocations: 0 / 0.573 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.3877, allocations: 38.28 kB / 0.5731 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.3878, allocations: 4.344 kB / 0.5731 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002877/0.3881, allocations: 101.6 kB / 0.5732 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.3882, allocations: 0.6749 MB / 0.5738 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.356e-05/0.3883, allocations: 3.609 kB / 0.5738 GB, free: 26.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.3883, allocations: 10.78 kB / 0.5738 GB, free: 26.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3883, allocations: 0 / 0.5738 GB, free: 26.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002553/0.3909, allocations: 413.9 kB / 0.5742 GB, free: 26.25 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)