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.005047/0.005047, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001133/0.001134, allocations: 201.2 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002251/0.002251, allocations: 283.1 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.001871, allocations: 96.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1481, allocations: 86.97 MB / 0.7659 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002582/0.1508, allocations: 1.449 MB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1522, allocations: 0.8857 MB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.724e-05/0.1523, allocations: 4 kB / 0.7682 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001356/0.1524, allocations: 7.938 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005903/0.153, allocations: 135.6 kB / 0.7683 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1533, allocations: 103.9 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1535, allocations: 59.88 kB / 0.7685 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.1535, allocations: 15.88 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1536, allocations: 43.89 kB / 0.7685 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1537, allocations: 35.84 kB / 0.7686 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1537, allocations: 7.938 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1541, allocations: 239.6 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.1542, allocations: 51.88 kB / 0.7689 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.77e-05/0.1543, allocations: 63.55 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003867/0.1547, allocations: 275 kB / 0.7692 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1547, allocations: 4 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1547, allocations: 0 / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.1547, allocations: 0 / 0.7692 GB, free: 5.57 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.0007098/0.1554, allocations: 0.5097 MB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1555, allocations: 8.031 kB / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.1555, allocations: 30.75 kB / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1556, allocations: 16.84 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.1562, allocations: 0.659 MB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1562, allocations: 12.12 kB / 0.7704 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.1562, allocations: 4 kB / 0.7704 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.1564, allocations: 69.66 kB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1564, allocations: 0 / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1564, allocations: 0 / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.1564, allocations: 4 kB / 0.7705 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.1566, allocations: 79.92 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.1569, allocations: 321.6 kB / 0.7708 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.1572, allocations: 118.4 kB / 0.771 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1573, allocations: 48.89 kB / 0.771 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.1573, allocations: 19.97 kB / 0.771 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1574, allocations: 30.56 kB / 0.7711 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1574, allocations: 7.938 kB / 0.7711 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0003988/0.1578, allocations: 169.5 kB / 0.7712 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1578, allocations: 59.34 kB / 0.7713 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000645/0.1585, allocations: 0.7703 MB / 0.772 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1585, allocations: 29.7 kB / 0.7721 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.1586, allocations: 128.1 kB / 0.7722 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1586, allocations: 11.91 kB / 0.7722 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.1587, allocations: 21.7 kB / 0.7722 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1588, allocations: 330.8 kB / 0.7725 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1589, allocations: 35.97 kB / 0.7726 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.159, allocations: 62.53 kB / 0.7726 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.1592, allocations: 88.83 kB / 0.7727 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.1592, 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.0002559/0.1595, allocations: 133.5 kB / 0.7728 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1595, allocations: 4 kB / 0.7728 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1595, allocations: 0 / 0.7728 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1595, allocations: 7.938 kB / 0.7729 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.1596, allocations: 7.984 kB / 0.7729 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1596, allocations: 4 kB / 0.7729 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.1597, allocations: 11.98 kB / 0.7729 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1597, 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 9.528e-05/0.1598, allocations: 134.4 kB / 0.773 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.1599, allocations: 23.84 kB / 0.773 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.1601, allocations: 130.9 kB / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1602, allocations: 0 / 0.7731 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1602, allocations: 11.92 kB / 0.7732 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1602, allocations: 0 / 0.7732 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1603, allocations: 229.5 kB / 0.7734 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1604, allocations: 4 kB / 0.7734 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.1604, allocations: 7.984 kB / 0.7734 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1604, allocations: 4 kB / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1604, allocations: 0 / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1605, allocations: 0 / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1605, allocations: 0 / 0.7734 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1607, allocations: 160.9 kB / 0.7735 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.1608, allocations: 113 kB / 0.7737 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.1608, allocations: 3.938 kB / 0.7737 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.1609, allocations: 4 kB / 0.7737 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.161, allocations: 4.406 kB / 0.7737 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.161, allocations: 4 kB / 0.7737 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004878/0.1615, allocations: 0.6136 MB / 0.7743 GB, free: 8 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1615, allocations: 7.938 kB / 0.7743 GB, free: 0 / 0.5606 GB Notification: Performance of remove unused functions: time 0.2764/0.4379, allocations: 69.73 kB / 0.7743 GB, free: 15.23 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.0006967/0.4386, allocations: 0.7487 MB / 0.7751 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.4389, allocations: 84.38 kB / 0.7752 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4389, allocations: 1.906 kB / 0.7752 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.439, allocations: 47.72 kB / 0.7752 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4393, allocations: 17.16 kB / 0.7752 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.4424, allocations: 3.309 MB / 0.7785 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.4426, allocations: 0.7266 MB / 0.7792 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.015e-05/0.4427, allocations: 23.11 kB / 0.7792 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.4427, allocations: 51.08 kB / 0.7792 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4428, allocations: 1.188 kB / 0.7792 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4632, allocations: 4.609 MB / 0.7837 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.388/7.851, allocations: 12.44 kB / 0.7837 GB, free: 12.4 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)