Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",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.006207/0.006207, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001363/0.001363, allocations: 202.5 kB / 16.68 MB, free: 5.965 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002447/0.002447, allocations: 275 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002833/0.002833, allocations: 95.92 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1588, allocations: 86.97 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00251/0.1613, allocations: 1.439 MB / 0.7673 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1628, allocations: 0.9012 MB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.1628, allocations: 4 kB / 0.7682 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.163, allocations: 11.92 kB / 0.7682 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.1635, allocations: 127.6 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1637, allocations: 104 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1639, allocations: 71.81 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.1639, allocations: 7.938 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.164, allocations: 31.91 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.1641, allocations: 51.77 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1641, allocations: 4 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000393/0.1645, allocations: 231.7 kB / 0.7688 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.1646, allocations: 55.88 kB / 0.7689 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.838e-05/0.1647, allocations: 55.55 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.1651, allocations: 283 kB / 0.7692 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1651, allocations: 0 / 0.7692 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1651, allocations: 0 / 0.7692 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.1651, allocations: 0 / 0.7692 GB, free: 5.566 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007246/0.1659, allocations: 0.5058 MB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.1659, allocations: 12.02 kB / 0.7697 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1659, allocations: 38.69 kB / 0.7697 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.166, allocations: 16.84 kB / 0.7697 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.1666, allocations: 0.6552 MB / 0.7704 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1667, allocations: 4.125 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.1667, allocations: 0 / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1669, allocations: 73.66 kB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1669, allocations: 0 / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.1669, allocations: 0 / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1669, allocations: 0 / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.1671, allocations: 79.94 kB / 0.7705 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.1675, allocations: 325.6 kB / 0.7708 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1677, allocations: 122.4 kB / 0.771 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.1679, allocations: 48.89 kB / 0.771 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.1679, allocations: 19.97 kB / 0.771 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.168, allocations: 38.5 kB / 0.7711 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.168, allocations: 0 / 0.7711 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004258/0.1684, allocations: 169.4 kB / 0.7712 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.1684, allocations: 51.41 kB / 0.7713 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.1692, allocations: 0.7742 MB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1692, allocations: 25.7 kB / 0.7721 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.098e-05/0.1693, allocations: 128.1 kB / 0.7722 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.1694, allocations: 19.84 kB / 0.7722 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.1694, allocations: 13.72 kB / 0.7722 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.1696, allocations: 334.8 kB / 0.7725 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1697, allocations: 39.97 kB / 0.7726 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1698, allocations: 58.53 kB / 0.7726 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.17, allocations: 88.83 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.17, allocations: 3.938 kB / 0.7727 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002702/0.1703, allocations: 133.8 kB / 0.7728 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.1703, allocations: 4 kB / 0.7728 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1703, allocations: 48 / 0.7728 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1704, allocations: 3.984 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.1704, allocations: 8 kB / 0.7729 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1704, allocations: 7.984 kB / 0.7729 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1706, allocations: 12 kB / 0.7729 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1706, allocations: 0 / 0.7729 GB, free: 1.547 MB / 0.5606 GB 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 (3): * Single equations (assignments): 3 * 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 0.0001083/0.1707, allocations: 134.4 kB / 0.773 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.1707, allocations: 19.86 kB / 0.773 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.171, allocations: 138.8 kB / 0.7732 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.171, allocations: 8 kB / 0.7732 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1711, allocations: 0 / 0.7732 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1711, allocations: 0 / 0.7732 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.1713, allocations: 229.5 kB / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1713, allocations: 0 / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.1713, allocations: 11.98 kB / 0.7734 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1713, allocations: 0 / 0.7734 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.1714, allocations: 8 kB / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1714, allocations: 0 / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1714, allocations: 0 / 0.7734 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.1717, allocations: 160.9 kB / 0.7736 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.1718, allocations: 104.9 kB / 0.7737 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1718, allocations: 7.984 kB / 0.7737 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1719, allocations: 4 kB / 0.7737 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.1719, allocations: 7.922 kB / 0.7737 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.1719, allocations: 0 / 0.7737 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.285/0.4569, allocations: 0.622 MB / 0.7743 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4569, allocations: 0 / 0.7743 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004102/0.4573, allocations: 70 kB / 0.7743 GB, free: 14.8 MB / 0.5606 GB 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 (3): * Single equations (assignments): 3 * 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.0007028/0.4581, allocations: 0.7454 MB / 0.7751 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.4584, allocations: 92.56 kB / 0.7752 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4584, allocations: 0 / 0.7752 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.4585, allocations: 43.58 kB / 0.7752 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.4588, allocations: 14.31 kB / 0.7752 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.4619, allocations: 3.311 MB / 0.7785 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.4621, allocations: 0.7235 MB / 0.7792 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.228e-05/0.4622, allocations: 27.84 kB / 0.7792 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.034e-05/0.4622, allocations: 51.11 kB / 0.7792 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.4622, allocations: 0 / 0.7792 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.4879, allocations: 4.613 MB / 0.7837 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.899/8.387, allocations: 6.438 kB / 0.7837 GB, free: 11.96 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)