Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_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.001297/0.001296, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 283.1 kB / 290.8 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 91.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.158, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002265/0.1603, allocations: 1.237 MB / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1615, allocations: 0.6982 MB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.856e-05/0.1615, allocations: 3.938 kB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.1615, allocations: 0 / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1617, allocations: 3.984 kB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.162, allocations: 99.69 kB / 0.7679 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.167e-05/0.162, allocations: 15.86 kB / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.1621, allocations: 0 / 0.7679 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.612e-05/0.1621, allocations: 11.98 kB / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.609e-05/0.1622, allocations: 0 / 0.7679 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.1622, allocations: 4 kB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1625, allocations: 127.8 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.1625, allocations: 3.984 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.04e-05/0.1625, allocations: 11.94 kB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.1627, allocations: 72.09 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1627, allocations: 4 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1627, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1627, allocations: 4 kB / 0.7681 GB, free: 6.629 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003912/0.1631, allocations: 339.3 kB / 0.7685 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.1632, allocations: 8.031 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.211e-05/0.1632, allocations: 30.75 kB / 0.7685 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.1633, allocations: 4.875 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1634, allocations: 164.4 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1634, allocations: 4.125 kB / 0.7687 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1634, allocations: 4 kB / 0.7687 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.822e-05/0.1635, allocations: 42.14 kB / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1635, allocations: 0 / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.1635, allocations: 0 / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.1636, allocations: 0 / 0.7687 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.92e-05/0.1636, allocations: 4 kB / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1638, allocations: 157.6 kB / 0.7689 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.381e-05/0.1638, allocations: 26.52 kB / 0.7689 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.1639, allocations: 8.922 kB / 0.7689 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.1643, allocations: 421.4 kB / 0.7693 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1644, allocations: 30.56 kB / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1644, allocations: 0 / 0.7693 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001233/0.1645, allocations: 33.7 kB / 0.7694 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1646, allocations: 63.52 kB / 0.7694 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.1647, allocations: 93.86 kB / 0.7695 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1647, allocations: 25.7 kB / 0.7695 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1647, allocations: 80.14 kB / 0.7696 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1647, allocations: 7.953 kB / 0.7696 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.1648, allocations: 13.72 kB / 0.7696 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.1649, allocations: 314.8 kB / 0.7699 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.165, allocations: 8 kB / 0.7699 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.165, allocations: 8.062 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.165, allocations: 16.86 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.165, allocations: 3.938 kB / 0.77 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.981e-05/0.1651, allocations: 33.7 kB / 0.77 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1651, allocations: 4 kB / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1651, allocations: 0 / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1651, allocations: 0 / 0.77 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.1652, allocations: 7.984 kB / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1652, allocations: 96 / 0.77 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.1652, allocations: 4 kB / 0.77 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1652, allocations: 8 kB / 0.77 GB, free: 4.375 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 (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 8.551e-05/0.1653, allocations: 114.4 kB / 0.7701 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-06/0.1653, allocations: 7.891 kB / 0.7701 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.1654, allocations: 48.75 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1654, allocations: 3.984 kB / 0.7702 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1654, allocations: 4 kB / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1654, allocations: 0 / 0.7702 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.1656, allocations: 157.6 kB / 0.7703 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1656, allocations: 0 / 0.7703 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.046e-05/0.1656, allocations: 4 kB / 0.7703 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1656, allocations: 0 / 0.7703 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.1656, allocations: 0 / 0.7703 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1656, allocations: 4 kB / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1656, allocations: 0 / 0.7703 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.622e-05/0.1657, allocations: 73 kB / 0.7704 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1658, allocations: 81.14 kB / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.1658, allocations: 0 / 0.7705 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.1658, allocations: 4 kB / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.1658, allocations: 0 / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1658, allocations: 0 / 0.7705 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.1659, allocations: 75.28 kB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1659, allocations: 4 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002188/0.1661, allocations: 27.86 kB / 0.7706 GB, free: 3.68 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 (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.0004896/0.1666, allocations: 0.6301 MB / 0.7712 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.121e-05/0.1667, allocations: 8 kB / 0.7712 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1667, allocations: 0 / 0.7712 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.1667, allocations: 4 kB / 0.7712 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.1668, allocations: 8.266 kB / 0.7712 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.1672, allocations: 143 kB / 0.7714 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.1675, allocations: 0.6767 MB / 0.772 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.1675, allocations: 4 kB / 0.772 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.1676, allocations: 7.438 kB / 0.772 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of SimCode: time 2.304e-06/0.1676, allocations: 3.938 kB / 0.772 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.1893, allocations: 1.54 MB / 0.7735 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.554/7.743, allocations: 13.61 kB / 0.7736 GB, free: 0.6992 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1)