Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 112.2 kB / 17.04 MB, free: 5.812 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.001785/0.001785, allocations: 195 kB / 17.98 MB, free: 5.027 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7097/0.7097, allocations: 115.1 MB / 407 MB, free: 6.297 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.89 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3585, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002271/0.3608, allocations: 1.246 MB / 0.5588 GB, free: 35.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002978/0.3611, allocations: 123.4 kB / 0.5589 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.3612, allocations: 0 / 0.5589 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.509e-05/0.3612, allocations: 1.062 kB / 0.5589 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.3613, allocations: 10.11 kB / 0.5589 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.3615, allocations: 38.88 kB / 0.559 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.3616, allocations: 12.41 kB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.3616, allocations: 2.219 kB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.187e-05/0.3617, allocations: 11.92 kB / 0.559 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.3617, allocations: 12.61 kB / 0.559 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.3618, allocations: 0.8125 kB / 0.559 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3619, allocations: 56.97 kB / 0.559 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.3619, allocations: 1.281 kB / 0.559 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.3619, allocations: 8.234 kB / 0.5591 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3621, allocations: 38.67 kB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3621, allocations: 1.156 kB / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3621, allocations: 0 / 0.5591 GB, free: 35.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3621, allocations: 1.25 kB / 0.5591 GB, free: 35.67 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003252/0.3624, allocations: 329.6 kB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3625, allocations: 9.594 kB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.3625, allocations: 6 kB / 0.5594 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.829e-05/0.3626, allocations: 165.8 kB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3626, allocations: 384 / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.3626, allocations: 2.812 kB / 0.5596 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.3627, allocations: 40.83 kB / 0.5596 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3627, allocations: 0.9844 kB / 0.5596 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3627, allocations: 0 / 0.5596 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3627, allocations: 6.562 kB / 0.5596 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.3628, allocations: 9.234 kB / 0.5596 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.3629, allocations: 153 kB / 0.5598 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.363, allocations: 18.8 kB / 0.5598 GB, free: 34.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.363, allocations: 11.06 kB / 0.5598 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.3636, allocations: 0.6067 MB / 0.5604 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.3636, allocations: 35.34 kB / 0.5604 GB, free: 34.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.3636, allocations: 0.9375 kB / 0.5604 GB, free: 34.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001298/0.3637, allocations: 47.97 kB / 0.5605 GB, free: 34.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.3638, allocations: 51.41 kB / 0.5605 GB, free: 34.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.444e-05/0.3638, allocations: 97.75 kB / 0.5606 GB, free: 33.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.3638, allocations: 25.7 kB / 0.5607 GB, free: 33.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.3639, allocations: 82.33 kB / 0.5607 GB, free: 33.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.3639, allocations: 8.625 kB / 0.5607 GB, free: 33.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.3639, allocations: 13.48 kB / 0.5608 GB, free: 33.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.364, allocations: 314.4 kB / 0.5611 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.364, allocations: 1.625 kB / 0.5611 GB, free: 33.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.164e-05/0.364, allocations: 8.094 kB / 0.5611 GB, free: 33.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.364, allocations: 12.06 kB / 0.5611 GB, free: 33.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.364, allocations: 0 / 0.5611 GB, free: 33.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.607e-05/0.3641, allocations: 49.11 kB / 0.5611 GB, free: 33.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3641, allocations: 5.844 kB / 0.5611 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.3641, allocations: 0 / 0.5611 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3641, allocations: 3.906 kB / 0.5611 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.3642, allocations: 11.23 kB / 0.5611 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3642, allocations: 5.484 kB / 0.5611 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.3642, allocations: 0.7969 kB / 0.5611 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3642, allocations: 2.094 kB / 0.5611 GB, free: 33.43 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 4.447e-05/0.3643, allocations: 108.1 kB / 0.5613 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.3643, allocations: 5.188 kB / 0.5613 GB, free: 33.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/0.3644, allocations: 51.38 kB / 0.5613 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3644, allocations: 0.6562 kB / 0.5613 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3644, allocations: 0 / 0.5613 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3644, allocations: 3.438 kB / 0.5613 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.424e-05/0.3645, allocations: 150.4 kB / 0.5615 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3645, allocations: 7.344 kB / 0.5615 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.277e-05/0.3645, allocations: 8.078 kB / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3645, allocations: 0 / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3645, allocations: 1.375 kB / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3645, allocations: 1.781 kB / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3645, allocations: 0 / 0.5615 GB, free: 33.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.514e-05/0.3646, allocations: 67.61 kB / 0.5615 GB, free: 33 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.3646, allocations: 83.28 kB / 0.5616 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.3647, allocations: 0.7031 kB / 0.5616 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.646e-05/0.3647, allocations: 0.7188 kB / 0.5616 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.3647, allocations: 7.891 kB / 0.5616 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.3647, allocations: 0.9375 kB / 0.5616 GB, free: 32.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.3647, allocations: 83.66 kB / 0.5617 GB, free: 32.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3647, allocations: 1.75 kB / 0.5617 GB, free: 32.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001917/0.3649, allocations: 16.72 kB / 0.5617 GB, free: 32.82 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 0.0001403/0.3651, allocations: 111 kB / 0.5618 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.684e-05/0.3652, allocations: 8.562 kB / 0.5618 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3652, allocations: 1.25 kB / 0.5618 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.3652, allocations: 8.609 kB / 0.5618 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.3654, allocations: 8.062 kB / 0.5619 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.3657, allocations: 110.7 kB / 0.562 GB, free: 32.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.3658, allocations: 0.6741 MB / 0.5626 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.612e-05/0.3658, allocations: 3.75 kB / 0.5626 GB, free: 31.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.3658, allocations: 9 kB / 0.5626 GB, free: 31.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3658, allocations: 0.9688 kB / 0.5626 GB, free: 31.91 MB / 446.1 MB Notification: Performance of Templates: time 0.003076/0.3689, allocations: 0.5973 MB / 0.5632 GB, free: 31.86 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)