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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) 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: 101.2 kB / 16.27 MB, free: 5.961 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.001157/0.001157, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.191/1.191, 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.6713/0.6713, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.268, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002147/0.2701, allocations: 1.252 MB / 0.5685 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.2704, allocations: 122.7 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.207e-05/0.2704, allocations: 0.6875 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.2705, allocations: 1.062 kB / 0.5686 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.253e-05/0.2705, allocations: 9.656 kB / 0.5686 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.2707, allocations: 36.84 kB / 0.5687 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.368e-05/0.2708, allocations: 15.23 kB / 0.5687 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.2708, allocations: 3.672 kB / 0.5687 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.652e-05/0.2709, allocations: 3.375 kB / 0.5687 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.103e-05/0.2709, allocations: 12.78 kB / 0.5687 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2709, allocations: 2.188 kB / 0.5687 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.271, allocations: 52.61 kB / 0.5688 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-06/0.2711, allocations: 0.6094 kB / 0.5688 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2711, allocations: 3.469 kB / 0.5688 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.2712, allocations: 42.77 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2712, allocations: 3.938 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2712, allocations: 1 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.2712, allocations: 1.125 kB / 0.5688 GB, free: 31.75 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.0002549/0.2715, allocations: 328.8 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2715, allocations: 10.28 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.989e-05/0.2716, allocations: 35.36 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.867e-05/0.2716, allocations: 3.844 kB / 0.5692 GB, free: 31.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.274e-05/0.2717, allocations: 167.8 kB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.2717, allocations: 1.688 kB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.2717, allocations: 1.438 kB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.375e-05/0.2717, allocations: 34.61 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.2718, allocations: 0.6875 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.2718, allocations: 1.094 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2718, allocations: 2.141 kB / 0.5694 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.2718, allocations: 12.22 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.265e-05/0.2719, allocations: 152 kB / 0.5695 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.351e-05/0.272, allocations: 26.7 kB / 0.5695 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.712e-05/0.272, allocations: 7.594 kB / 0.5696 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.2725, allocations: 0.6077 MB / 0.5701 GB, free: 30.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.2725, allocations: 45.81 kB / 0.5702 GB, free: 30.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2725, allocations: 1.031 kB / 0.5702 GB, free: 30.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001088/0.2726, allocations: 41.09 kB / 0.5702 GB, free: 30.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.417e-05/0.2727, allocations: 52.91 kB / 0.5703 GB, free: 30.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.058e-05/0.2727, allocations: 100.6 kB / 0.5704 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-06/0.2727, allocations: 25.7 kB / 0.5704 GB, free: 29.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.148e-05/0.2727, allocations: 83.38 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.2728, allocations: 5 kB / 0.5705 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.2728, allocations: 19 kB / 0.5705 GB, free: 29.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.295e-05/0.2728, allocations: 312.8 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.2728, allocations: 2.219 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-06/0.2729, allocations: 3.688 kB / 0.5708 GB, free: 29.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.339e-05/0.2729, allocations: 14.48 kB / 0.5708 GB, free: 29.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2729, allocations: 3.594 kB / 0.5708 GB, free: 29.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.877e-05/0.2729, allocations: 43.81 kB / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/0.273, allocations: 4.938 kB / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.273, allocations: 1.406 kB / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.273, allocations: 0 / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.169e-05/0.273, allocations: 4.938 kB / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.273, allocations: 0.5938 kB / 0.5709 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.2731, allocations: 9.688 kB / 0.5709 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.2731, allocations: 5.438 kB / 0.5709 GB, free: 29.46 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 3.379e-05/0.2731, allocations: 108 kB / 0.571 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-06/0.2731, allocations: 10.11 kB / 0.571 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.099e-05/0.2732, allocations: 49 kB / 0.571 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2732, allocations: 1.031 kB / 0.5711 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.2732, allocations: 0 / 0.5711 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2732, allocations: 3.422 kB / 0.5711 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.586e-05/0.2733, allocations: 152 kB / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2733, allocations: 3.938 kB / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.2733, allocations: 3.5 kB / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2733, allocations: 4.828 kB / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.2733, allocations: 0 / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2733, allocations: 1.125 kB / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2733, allocations: 0 / 0.5712 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.168e-05/0.2734, allocations: 62.62 kB / 0.5713 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.2734, allocations: 85.92 kB / 0.5714 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.2734, allocations: 3.984 kB / 0.5714 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.576e-05/0.2734, allocations: 0 / 0.5714 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.2735, allocations: 6 kB / 0.5714 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.2735, allocations: 1.031 kB / 0.5714 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.718e-05/0.2735, allocations: 79.25 kB / 0.5714 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2735, allocations: 5.281 kB / 0.5714 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.2737, allocations: 20.81 kB / 0.5715 GB, free: 28.85 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.0002137/0.2739, allocations: 0.6184 MB / 0.5721 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.277e-05/0.274, allocations: 12.92 kB / 0.5721 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.274, allocations: 1.281 kB / 0.5721 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.274, allocations: 11.86 kB / 0.5721 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.2742, allocations: 6.969 kB / 0.5721 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.2748, allocations: 1.084 MB / 0.5732 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.206e-05/0.2748, allocations: 0.6736 MB / 0.5738 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.281e-05/0.2749, allocations: 4.859 kB / 0.5738 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.2749, allocations: 8.781 kB / 0.5738 GB, free: 26.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2749, allocations: 0 / 0.5738 GB, free: 26.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01579/0.2907, allocations: 1.407 MB / 0.5752 GB, free: 26.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.898, allocations: 10.86 kB / 0.5752 GB, free: 26.12 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)