Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009671/0.0009673, allocations: 90.8 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.001301/0.001301, allocations: 181.9 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.393/1.393, allocations: 223.3 MB / 241.6 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7079/0.7079, allocations: 115.5 MB / 408.2 MB, free: 7.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.000343, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3808, allocations: 77.51 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.001487/0.3823, allocations: 1.162 MB / 0.5617 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002921/0.3826, allocations: 87.2 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.3826, allocations: 1.219 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.866e-05/0.3827, allocations: 1.25 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.3827, allocations: 8.625 kB / 0.5618 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.3829, allocations: 16 kB / 0.5618 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.346e-05/0.3829, allocations: 26.12 kB / 0.5618 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.383, allocations: 8.531 kB / 0.5619 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.3831, allocations: 4.781 kB / 0.5619 GB, free: 35.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.963e-05/0.3831, allocations: 14.02 kB / 0.5619 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3832, allocations: 2.125 kB / 0.5619 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.511e-05/0.3832, allocations: 10.53 kB / 0.5619 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.574e-05/0.3832, allocations: 9.734 kB / 0.5619 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.3833, allocations: 33.55 kB / 0.5619 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.824e-05/0.3834, allocations: 22.55 kB / 0.5619 GB, free: 35.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3834, allocations: 1.406 kB / 0.5619 GB, free: 35.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3834, allocations: 0 / 0.5619 GB, free: 35.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3834, allocations: 0 / 0.5619 GB, free: 35.26 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.000371/0.3838, allocations: 348.4 kB / 0.5623 GB, free: 34.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3838, allocations: 16.53 kB / 0.5623 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.384, allocations: 18.48 kB / 0.5623 GB, free: 34.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.468e-05/0.3841, allocations: 170.8 kB / 0.5625 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3841, allocations: 1.812 kB / 0.5625 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.3841, allocations: 1.625 kB / 0.5625 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.3843, allocations: 65.84 kB / 0.5625 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.3844, allocations: 192 / 0.5625 GB, free: 34.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.3844, allocations: 3.938 kB / 0.5625 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3844, allocations: 2.562 kB / 0.5626 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.3847, allocations: 63.3 kB / 0.5626 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.385, allocations: 269.2 kB / 0.5629 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3852, allocations: 72.33 kB / 0.5629 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3853, allocations: 39.42 kB / 0.563 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3854, allocations: 0 / 0.563 GB, free: 34.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.3854, allocations: 30.56 kB / 0.563 GB, free: 34.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3854, allocations: 1.281 kB / 0.563 GB, free: 34.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004483/0.3858, allocations: 133.5 kB / 0.5631 GB, free: 34.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.3859, allocations: 52.75 kB / 0.5632 GB, free: 34.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.3859, allocations: 105.1 kB / 0.5633 GB, free: 34.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.386, allocations: 25.7 kB / 0.5633 GB, free: 34.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.386, allocations: 87.03 kB / 0.5634 GB, free: 33.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.386, allocations: 6.031 kB / 0.5634 GB, free: 33.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.386, allocations: 11.97 kB / 0.5634 GB, free: 33.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.3861, allocations: 313.3 kB / 0.5637 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3862, allocations: 31.73 kB / 0.5637 GB, free: 33.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.3863, allocations: 34.56 kB / 0.5638 GB, free: 33.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.3866, allocations: 66.97 kB / 0.5638 GB, free: 33.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3866, allocations: 1.031 kB / 0.5638 GB, free: 33.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002599/0.3868, allocations: 102.5 kB / 0.5639 GB, free: 33.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3869, allocations: 6.094 kB / 0.5639 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3869, allocations: 0.7031 kB / 0.5639 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3869, allocations: 0 / 0.5639 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.387, allocations: 16.94 kB / 0.564 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.387, allocations: 0 / 0.564 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.3871, allocations: 12.28 kB / 0.564 GB, free: 33.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3871, allocations: 6.172 kB / 0.564 GB, free: 33.53 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 (2): * Single equations (assignments): 2 * 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 5.197e-05/0.3872, allocations: 117.1 kB / 0.5641 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3872, allocations: 7.469 kB / 0.5641 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.3872, allocations: 9.328 kB / 0.5641 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3872, allocations: 1.75 kB / 0.5641 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3872, allocations: 0.5156 kB / 0.5641 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3872, allocations: 1.5 kB / 0.5641 GB, free: 33.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3874, allocations: 164.5 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3874, allocations: 0 / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.246e-05/0.3875, allocations: 16.81 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3875, allocations: 0.6875 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3875, allocations: 4 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.3875, allocations: 3.5 kB / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3875, allocations: 0 / 0.5643 GB, free: 33.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3878, allocations: 194 kB / 0.5645 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.3878, allocations: 79.45 kB / 0.5645 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3878, allocations: 2.531 kB / 0.5645 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.3879, allocations: 13.47 kB / 0.5646 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.388, allocations: 2.484 kB / 0.5646 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.388, allocations: 1.406 kB / 0.5646 GB, free: 32.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.602e-05/0.388, allocations: 88.91 kB / 0.5646 GB, free: 32.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.388, allocations: 1.906 kB / 0.5647 GB, free: 32.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.3882, allocations: 5.125 kB / 0.5647 GB, free: 32.88 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 (2): * Single equations (assignments): 2 * 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 9.049e-05/0.3883, allocations: 100.4 kB / 0.5648 GB, free: 32.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.3886, allocations: 67.55 kB / 0.5648 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3886, allocations: 1.156 kB / 0.5648 GB, free: 32.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.3888, allocations: 39.81 kB / 0.5649 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.389, allocations: 5.891 kB / 0.5649 GB, free: 32.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3894, allocations: 169.2 kB / 0.565 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.3895, allocations: 0.6779 MB / 0.5657 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.3895, allocations: 9.375 kB / 0.5657 GB, free: 31.91 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3895, allocations: 0.6562 kB / 0.5657 GB, free: 31.91 MB / 446.1 MB Notification: Performance of Templates: time 0.002054/0.3916, allocations: 0.6161 MB / 0.5663 GB, free: 31.9 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)