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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 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.001247/0.001247, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002106/0.002106, allocations: 275.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9393/0.9393, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 94.47 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1329, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002253/0.1351, allocations: 1.224 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1362, allocations: 0.7038 MB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.1363, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.1363, allocations: 4.719 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.1364, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1367, allocations: 97.12 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.907e-05/0.1367, allocations: 13.33 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.1368, allocations: 4 kB / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.1368, allocations: 0 / 0.6823 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.912e-05/0.1369, allocations: 12.64 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.1369, allocations: 0 / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.1372, allocations: 139.8 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.1372, allocations: 3.938 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.1372, allocations: 0 / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1374, allocations: 88.08 kB / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1374, allocations: 0 / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1374, allocations: 0 / 0.6825 GB, free: 14.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1374, allocations: 3.938 kB / 0.6825 GB, free: 14.29 MB / 494.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.0003123/0.1377, allocations: 327.6 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1378, allocations: 12.03 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1378, allocations: 34.75 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.957e-05/0.1378, allocations: 4.875 kB / 0.6829 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.1379, allocations: 164.3 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.1379, allocations: 384 / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.138, allocations: 11.94 kB / 0.6831 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.415e-05/0.138, allocations: 33.69 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.138, allocations: 0 / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.1381, allocations: 4 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1381, allocations: 3.984 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.1381, allocations: 4 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001339/0.1382, allocations: 149.7 kB / 0.6832 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.1383, allocations: 34.47 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.1383, allocations: 4.859 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.1387, allocations: 413.6 kB / 0.6837 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1388, allocations: 38.56 kB / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1388, allocations: 0 / 0.6837 GB, free: 12.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001242/0.1389, allocations: 37.7 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.1389, allocations: 55.34 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.139, allocations: 101.8 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.139, allocations: 25.7 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.139, allocations: 80.14 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1391, allocations: 8.094 kB / 0.684 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.1391, allocations: 25.66 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.1392, allocations: 310.8 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.1392, allocations: 0 / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-06/0.1392, allocations: 4 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.1393, allocations: 16.84 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1393, allocations: 0 / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.381e-05/0.1393, allocations: 37.64 kB / 0.6844 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.1394, allocations: 16.03 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1394, allocations: 0 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.1394, allocations: 3.938 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.1394, allocations: 4 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1394, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.1395, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.1395, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.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 5.951e-05/0.1395, allocations: 119.1 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.1395, allocations: 4 kB / 0.6845 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.924e-05/0.1396, allocations: 44.83 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1396, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1396, allocations: 3.984 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1397, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.1398, allocations: 149.6 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1398, allocations: 0 / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.1398, allocations: 7.938 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1398, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.1398, allocations: 3.984 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1398, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1398, allocations: 4.031 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.321e-05/0.1399, allocations: 61.08 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.036e-05/0.1399, allocations: 85.02 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.14, allocations: 11.98 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.075e-05/0.14, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-06/0.14, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.14, allocations: 0 / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.492e-05/0.14, allocations: 83.31 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.14, allocations: 0 / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1402, allocations: 20 kB / 0.685 GB, free: 11.35 MB / 494.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.0003847/0.1406, allocations: 0.6318 MB / 0.6856 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.374e-05/0.1407, allocations: 12.12 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1407, allocations: 0 / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.1407, allocations: 7.938 kB / 0.6856 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1409, allocations: 8.688 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.1412, allocations: 137 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1414, allocations: 0.6768 MB / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.535e-05/0.1414, allocations: 0 / 0.6864 GB, free: 9.785 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.1415, allocations: 19.56 kB / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1415, allocations: 0 / 0.6864 GB, free: 9.766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.1574, allocations: 1.514 MB / 0.6879 GB, free: 8.383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.019, allocations: 6.266 kB / 0.6879 GB, free: 8.379 MB / 494.1 MB (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)