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.001141/0.001141, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001213/0.001213, allocations: 193.4 kB / 17.97 MB, free: 5.062 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7242/0.7242, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3075, allocations: 76.14 MB / 0.5576 GB, free: 36.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002254/0.3098, allocations: 1.248 MB / 0.5588 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.31, allocations: 125.1 kB / 0.5589 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.3101, allocations: 0 / 0.5589 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.3101, allocations: 3.938 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.234e-05/0.3102, allocations: 10.17 kB / 0.5589 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3104, allocations: 39.62 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.059e-05/0.3105, allocations: 15.94 kB / 0.559 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.3105, allocations: 2.297 kB / 0.559 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.029e-05/0.3105, allocations: 4.625 kB / 0.559 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.3106, allocations: 14 kB / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3106, allocations: 1.125 kB / 0.559 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3107, allocations: 51.86 kB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.3108, allocations: 0 / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.3108, allocations: 2.719 kB / 0.559 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3109, allocations: 45.14 kB / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3109, allocations: 0 / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3109, allocations: 0 / 0.5591 GB, free: 35.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.3109, allocations: 0 / 0.5591 GB, free: 35.57 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.0003106/0.3112, allocations: 326.7 kB / 0.5594 GB, free: 35.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.3113, allocations: 9.594 kB / 0.5594 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.3113, allocations: 2.406 kB / 0.5594 GB, free: 35.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.915e-05/0.3114, allocations: 178.9 kB / 0.5596 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.679e-06/0.3114, allocations: 384 / 0.5596 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-06/0.3114, allocations: 2 kB / 0.5596 GB, free: 35.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.671e-05/0.3115, allocations: 36.7 kB / 0.5596 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3115, allocations: 0.75 kB / 0.5596 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.3115, allocations: 1.312 kB / 0.5596 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3115, allocations: 3.141 kB / 0.5596 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.896e-05/0.3116, allocations: 4.344 kB / 0.5596 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001109/0.3117, allocations: 151.6 kB / 0.5598 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.558e-05/0.3117, allocations: 29.55 kB / 0.5598 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.3118, allocations: 10.2 kB / 0.5598 GB, free: 34.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/0.3123, allocations: 0.6067 MB / 0.5604 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.3124, allocations: 34.5 kB / 0.5604 GB, free: 34.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3124, allocations: 2.219 kB / 0.5604 GB, free: 34.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001359/0.3125, allocations: 41.8 kB / 0.5605 GB, free: 34.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.3125, allocations: 54.19 kB / 0.5605 GB, free: 33.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.345e-05/0.3126, allocations: 108.8 kB / 0.5606 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.3126, allocations: 25.7 kB / 0.5607 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.391e-05/0.3126, allocations: 81.23 kB / 0.5607 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.3126, allocations: 5.469 kB / 0.5607 GB, free: 33.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.3127, allocations: 16.47 kB / 0.5607 GB, free: 33.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.21e-05/0.3127, allocations: 318.4 kB / 0.5611 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.195e-05/0.3127, allocations: 1.281 kB / 0.5611 GB, free: 33.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-06/0.3128, allocations: 3.719 kB / 0.5611 GB, free: 33.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.3128, allocations: 15.66 kB / 0.5611 GB, free: 33.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3128, allocations: 0.7812 kB / 0.5611 GB, free: 33.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.567e-05/0.3129, allocations: 41.83 kB / 0.5611 GB, free: 33.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3129, allocations: 6.344 kB / 0.5611 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.3129, allocations: 0 / 0.5611 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3129, allocations: 3.141 kB / 0.5611 GB, free: 33.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.807e-05/0.313, allocations: 7.219 kB / 0.5611 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.313, allocations: 1.312 kB / 0.5611 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.313, allocations: 1.938 kB / 0.5611 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.313, allocations: 1.438 kB / 0.5611 GB, free: 33.33 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.207e-05/0.313, allocations: 112.2 kB / 0.5612 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.3131, allocations: 6.109 kB / 0.5612 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.122e-05/0.3131, allocations: 44.73 kB / 0.5613 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3132, allocations: 4.531 kB / 0.5613 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3132, allocations: 0.6562 kB / 0.5613 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.3132, allocations: 0.9688 kB / 0.5613 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.447e-05/0.3132, allocations: 148.1 kB / 0.5614 GB, free: 32.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3132, allocations: 5.469 kB / 0.5614 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.388e-05/0.3133, allocations: 7.219 kB / 0.5614 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3133, allocations: 5.031 kB / 0.5615 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3133, allocations: 4 kB / 0.5615 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3133, allocations: 1.219 kB / 0.5615 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3133, allocations: 0 / 0.5615 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.876e-05/0.3134, allocations: 67.17 kB / 0.5615 GB, free: 32.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.3134, allocations: 83.47 kB / 0.5616 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.007e-05/0.3134, allocations: 1 kB / 0.5616 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.3134, allocations: 1.156 kB / 0.5616 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.3134, allocations: 2.672 kB / 0.5616 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.3134, allocations: 3.938 kB / 0.5616 GB, free: 32.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.079e-05/0.3135, allocations: 82.14 kB / 0.5617 GB, free: 32.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3135, allocations: 0 / 0.5617 GB, free: 32.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000198/0.3137, allocations: 16.48 kB / 0.5617 GB, free: 32.72 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.0001317/0.3138, allocations: 111.1 kB / 0.5618 GB, free: 32.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.3139, allocations: 17.88 kB / 0.5618 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3139, allocations: 0 / 0.5618 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.3139, allocations: 4.438 kB / 0.5618 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3142, allocations: 13.12 kB / 0.5618 GB, free: 32.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.3144, allocations: 107.6 kB / 0.5619 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.887e-05/0.3145, allocations: 0.6757 MB / 0.5626 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3145, allocations: 4.094 kB / 0.5626 GB, free: 31.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.3145, allocations: 8.344 kB / 0.5626 GB, free: 31.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3146, allocations: 0.9375 kB / 0.5626 GB, free: 31.81 MB / 446.1 MB Notification: Performance of Templates: time 0.002604/0.3172, allocations: 0.5962 MB / 0.5632 GB, free: 31.76 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)