Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.001057/0.001057, allocations: 107.6 kB / 16.27 MB, free: 5.984 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.00108/0.00108, allocations: 191 kB / 17.2 MB, free: 5.613 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.214/1.214, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6856/0.6856, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.84 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2716, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002007/0.2736, allocations: 1.232 MB / 0.5685 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.2747, allocations: 0.6977 MB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.2747, allocations: 0 / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.2747, allocations: 0.6875 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.2748, allocations: 5.641 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2751, allocations: 91.36 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.068e-05/0.2751, allocations: 10.61 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.2752, allocations: 3.047 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.531e-05/0.2752, allocations: 12.89 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.836e-05/0.2753, allocations: 7.234 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.234e-06/0.2753, allocations: 0.5625 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.2755, allocations: 140.7 kB / 0.5694 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.834e-06/0.2756, allocations: 0 / 0.5694 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.2756, allocations: 3.047 kB / 0.5694 GB, free: 31.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.2757, allocations: 80.28 kB / 0.5695 GB, free: 31.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2757, allocations: 1 kB / 0.5695 GB, free: 31.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2757, allocations: 2.156 kB / 0.5695 GB, free: 31.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.2758, allocations: 0 / 0.5695 GB, free: 31.33 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.0002642/0.276, allocations: 334.4 kB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2761, allocations: 10.97 kB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.2761, allocations: 35.5 kB / 0.5699 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.2761, allocations: 2.797 kB / 0.5699 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.853e-05/0.2762, allocations: 167.3 kB / 0.57 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2762, allocations: 1.375 kB / 0.57 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.2762, allocations: 4.969 kB / 0.57 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.799e-05/0.2763, allocations: 35.89 kB / 0.5701 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.2763, allocations: 3.938 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2763, allocations: 2.5 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2764, allocations: 0 / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.29e-05/0.2764, allocations: 8.734 kB / 0.5701 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.2765, allocations: 152.5 kB / 0.5702 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.2e-05/0.2765, allocations: 32.95 kB / 0.5703 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.2766, allocations: 9.344 kB / 0.5703 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003304/0.2769, allocations: 411.3 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.2769, allocations: 34.11 kB / 0.5707 GB, free: 29.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.2769, allocations: 0 / 0.5707 GB, free: 29.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.2771, allocations: 45.41 kB / 0.5707 GB, free: 29.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.2771, allocations: 53.44 kB / 0.5708 GB, free: 29.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.519e-05/0.2771, allocations: 97.95 kB / 0.5709 GB, free: 29.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.27e-06/0.2771, allocations: 25.7 kB / 0.5709 GB, free: 29.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.307e-05/0.2772, allocations: 87.8 kB / 0.571 GB, free: 29.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.2772, allocations: 4.609 kB / 0.571 GB, free: 29.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.2772, allocations: 14.03 kB / 0.571 GB, free: 29.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.2773, allocations: 313.7 kB / 0.5713 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.2773, allocations: 5.406 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-06/0.2773, allocations: 4.172 kB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.041e-05/0.2773, allocations: 15.09 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2773, allocations: 0.7188 kB / 0.5713 GB, free: 29.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.102e-05/0.2774, allocations: 45.95 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.2774, allocations: 6.062 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2774, allocations: 0.9062 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2774, allocations: 0 / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.327e-05/0.2775, allocations: 4.844 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2775, allocations: 1.281 kB / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.2775, allocations: 0 / 0.5714 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2775, allocations: 1.156 kB / 0.5714 GB, free: 29.23 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.758e-05/0.2775, allocations: 113.6 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.2776, allocations: 7.156 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.2776, allocations: 46.75 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2776, allocations: 0 / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2776, allocations: 0 / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2777, allocations: 2.312 kB / 0.5716 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.088e-05/0.2777, allocations: 159.4 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2777, allocations: 0.6562 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.2777, allocations: 4.453 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.2777, allocations: 0 / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.2778, allocations: 2.281 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2778, allocations: 4.734 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2778, allocations: 0.5938 kB / 0.5717 GB, free: 28.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.639e-05/0.2778, allocations: 69.88 kB / 0.5718 GB, free: 28.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.2779, allocations: 79.28 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.2779, allocations: 4.25 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.057e-05/0.2779, allocations: 0 / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.2779, allocations: 2.312 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.2779, allocations: 3.938 kB / 0.5719 GB, free: 28.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.679e-05/0.2779, allocations: 82.22 kB / 0.5719 GB, free: 28.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2779, allocations: 0.5312 kB / 0.5719 GB, free: 28.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000231/0.2782, allocations: 23.67 kB / 0.572 GB, free: 28.61 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.0002738/0.2784, allocations: 0.6276 MB / 0.5726 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.818e-05/0.2785, allocations: 15.39 kB / 0.5726 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2785, allocations: 2.062 kB / 0.5726 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.2785, allocations: 3.891 kB / 0.5726 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.2787, allocations: 3.156 kB / 0.5726 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.279, allocations: 128.4 kB / 0.5727 GB, free: 27.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.936e-05/0.2791, allocations: 0.6731 MB / 0.5734 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.2791, allocations: 2.156 kB / 0.5734 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2791, allocations: 9.125 kB / 0.5734 GB, free: 27.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2791, allocations: 1.156 kB / 0.5734 GB, free: 27.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.2953, allocations: 1.5 MB / 0.5749 GB, free: 26.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/7.15, allocations: 8.625 kB / 0.5749 GB, free: 26.83 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)