Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007287/0.0007287, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007862/0.0007862, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 223.3 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7101/0.7101, allocations: 132.4 MB / 423.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 8.875 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3508, allocations: 81.58 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0009537/0.3518, allocations: 0.9801 MB / 0.584 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002144/0.352, allocations: 113.5 kB / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.912e-05/0.352, allocations: 1.031 kB / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.899e-06/0.3521, allocations: 0 / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.3521, allocations: 2.781 kB / 0.5841 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.3523, allocations: 28.86 kB / 0.5842 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.3523, allocations: 19.56 kB / 0.5842 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3524, allocations: 4.688 kB / 0.5842 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.888e-05/0.3524, allocations: 4.125 kB / 0.5842 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.828e-05/0.3524, allocations: 8.641 kB / 0.5842 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.3525, allocations: 0 / 0.5842 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3526, allocations: 46.92 kB / 0.5843 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.3526, allocations: 5.734 kB / 0.5843 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.3526, allocations: 27.7 kB / 0.5843 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.3527, allocations: 17.55 kB / 0.5843 GB, free: 3.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3527, allocations: 5.281 kB / 0.5843 GB, free: 3.105 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3527, allocations: 4.453 kB / 0.5843 GB, free: 3.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.775e-06/0.3527, allocations: 0 / 0.5843 GB, free: 3.102 MB / 430.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.0002593/0.353, allocations: 332.5 kB / 0.5846 GB, free: 2.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.353, allocations: 8.781 kB / 0.5846 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.3531, allocations: 6 kB / 0.5846 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.3531, allocations: 173.2 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3532, allocations: 1.375 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.3532, allocations: 1.219 kB / 0.5848 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.384e-05/0.3532, allocations: 34.64 kB / 0.5848 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3532, allocations: 0 / 0.5848 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.3533, allocations: 0 / 0.5848 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3533, allocations: 1.469 kB / 0.5848 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.3533, allocations: 8.641 kB / 0.5849 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.3534, allocations: 151.2 kB / 0.585 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.285e-05/0.3535, allocations: 28.83 kB / 0.585 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.499e-05/0.3535, allocations: 11.67 kB / 0.585 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005174/0.354, allocations: 0.6161 MB / 0.5856 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.354, allocations: 36.55 kB / 0.5857 GB, free: 1.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.354, allocations: 0 / 0.5857 GB, free: 1.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001186/0.3542, allocations: 36.86 kB / 0.5857 GB, free: 1.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.3542, allocations: 53.73 kB / 0.5858 GB, free: 1.453 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.39e-05/0.3542, allocations: 103.3 kB / 0.5859 GB, free: 1.348 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.031e-06/0.3542, allocations: 25.7 kB / 0.5859 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.414e-05/0.3543, allocations: 88.48 kB / 0.586 GB, free: 1.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.3543, allocations: 5.156 kB / 0.586 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-06/0.3543, allocations: 0 / 0.586 GB, free: 1.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.3543, allocations: 321.4 kB / 0.5863 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.3544, allocations: 1.531 kB / 0.5863 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.3544, allocations: 2.344 kB / 0.5863 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.444e-05/0.3544, allocations: 6.688 kB / 0.5863 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3544, allocations: 1.766 kB / 0.5863 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.034e-05/0.3544, allocations: 38.98 kB / 0.5863 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.3545, allocations: 4.969 kB / 0.5863 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3545, allocations: 2.078 kB / 0.5863 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.3545, allocations: 3.938 kB / 0.5863 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.3545, allocations: 3.359 kB / 0.5863 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3545, allocations: 0.7188 kB / 0.5863 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3546, allocations: 0.9062 kB / 0.5863 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.309e-06/0.3546, allocations: 5.688 kB / 0.5863 GB, free: 0.8594 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.3546, allocations: 116.6 kB / 0.5865 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-06/0.3546, allocations: 5.281 kB / 0.5865 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.573e-05/0.3547, allocations: 44.47 kB / 0.5865 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.3547, allocations: 1.531 kB / 0.5865 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3547, allocations: 0 / 0.5865 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3547, allocations: 1.188 kB / 0.5865 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.404e-05/0.3548, allocations: 159.5 kB / 0.5867 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3548, allocations: 4.688 kB / 0.5867 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.3548, allocations: 3.844 kB / 0.5867 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3548, allocations: 0.6875 kB / 0.5867 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-06/0.3549, allocations: 0 / 0.5867 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3549, allocations: 2.266 kB / 0.5867 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3549, allocations: 0 / 0.5867 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.723e-05/0.3549, allocations: 64.56 kB / 0.5867 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.3549, allocations: 83.48 kB / 0.5868 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.355, allocations: 4.922 kB / 0.5868 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.535e-05/0.355, allocations: 0.6562 kB / 0.5868 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.355, allocations: 5.203 kB / 0.5868 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.355, allocations: 2.422 kB / 0.5868 GB, free: 324 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.851e-05/0.355, allocations: 86.06 kB / 0.5869 GB, free: 240 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.355, allocations: 0 / 0.5869 GB, free: 240 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.3552, allocations: 12.28 kB / 0.5869 GB, free: 240 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001188/0.3554, allocations: 114.6 kB / 0.587 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.3554, allocations: 15.41 kB / 0.587 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3554, allocations: 0 / 0.587 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.3555, allocations: 9.031 kB / 0.5871 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.3556, allocations: 5.141 kB / 0.5871 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001746/0.3558, allocations: 112.6 kB / 0.5872 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.356, allocations: 0.6785 MB / 0.5878 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.411e-05/0.3561, allocations: 2.656 kB / 0.5878 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.3561, allocations: 9.688 kB / 0.5878 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3561, allocations: 0 / 0.5878 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.002327/0.3584, allocations: 0.563 MB / 0.5884 GB, free: 15.24 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)