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.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 132 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.001259/0.001259, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.293/1.293, 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.002132/0.002132, allocations: 270.7 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 91.16 kB / 0.5953 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.132, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002668/0.1347, allocations: 1.443 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1362, allocations: 0.8893 MB / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.1362, allocations: 0 / 0.6826 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.1364, allocations: 8.688 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.137, allocations: 138.4 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.1372, allocations: 99.64 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.1373, allocations: 71.75 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.676e-05/0.1374, allocations: 4 kB / 0.6829 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1375, allocations: 35.89 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.1376, allocations: 43.84 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1376, allocations: 4 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003521/0.138, allocations: 235.7 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/0.1381, allocations: 51.88 kB / 0.6832 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.198e-05/0.1381, allocations: 59.55 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.1385, allocations: 279.1 kB / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1385, allocations: 0 / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1385, allocations: 0 / 0.6835 GB, free: 13.22 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1385, allocations: 0 / 0.6835 GB, free: 13.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006622/0.1392, allocations: 0.5002 MB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1392, allocations: 12.03 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.728e-05/0.1393, allocations: 30.75 kB / 0.6841 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.1393, allocations: 20.73 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005346/0.1399, allocations: 0.6472 MB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1399, allocations: 4.375 kB / 0.6847 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.1399, allocations: 3.938 kB / 0.6847 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1401, allocations: 73.66 kB / 0.6848 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.1401, allocations: 4 kB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1401, allocations: 3.938 kB / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1401, allocations: 0 / 0.6848 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.1403, allocations: 75.94 kB / 0.6849 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1407, allocations: 321.6 kB / 0.6852 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.1409, allocations: 122.5 kB / 0.6853 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.141, allocations: 48.81 kB / 0.6854 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.1411, allocations: 19.97 kB / 0.6854 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1411, allocations: 42.5 kB / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.395e-06/0.1411, allocations: 0 / 0.6854 GB, free: 11.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000411/0.1415, allocations: 177.2 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.1416, allocations: 55.39 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.1422, allocations: 0.7742 MB / 0.6864 GB, free: 10.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.1422, allocations: 25.7 kB / 0.6864 GB, free: 10.08 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.1423, allocations: 124.1 kB / 0.6865 GB, free: 9.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1423, allocations: 11.84 kB / 0.6865 GB, free: 9.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.1424, allocations: 17.72 kB / 0.6866 GB, free: 9.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1425, allocations: 330.8 kB / 0.6869 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.1426, allocations: 39.97 kB / 0.6869 GB, free: 9.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1427, allocations: 58.55 kB / 0.687 GB, free: 9.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1429, allocations: 96.72 kB / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1429, allocations: 0 / 0.6871 GB, free: 9.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002574/0.1432, allocations: 133.4 kB / 0.6872 GB, free: 9.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1432, allocations: 4 kB / 0.6872 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1432, allocations: 3.984 kB / 0.6872 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1433, allocations: 0 / 0.6872 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.839e-05/0.1433, allocations: 8 kB / 0.6872 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1433, allocations: 0 / 0.6872 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1434, allocations: 11.98 kB / 0.6872 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.1435, allocations: 0 / 0.6872 GB, free: 9.219 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 (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.979e-05/0.1436, allocations: 143.1 kB / 0.6874 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1436, allocations: 19.72 kB / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.1439, allocations: 138.8 kB / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1439, allocations: 0 / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.1439, allocations: 0 / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1439, allocations: 0 / 0.6875 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1441, allocations: 237.5 kB / 0.6877 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1441, allocations: 0 / 0.6877 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.1442, allocations: 15.98 kB / 0.6877 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1442, allocations: 0 / 0.6877 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1442, allocations: 0 / 0.6877 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1442, allocations: 0 / 0.6877 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1442, allocations: 3.938 kB / 0.6878 GB, free: 8.602 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1445, allocations: 164.7 kB / 0.6879 GB, free: 8.422 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.1445, allocations: 104.9 kB / 0.688 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.1446, allocations: 0 / 0.688 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.1447, allocations: 7.984 kB / 0.688 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.1447, allocations: 4 kB / 0.688 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1447, allocations: 432 / 0.688 GB, free: 8.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004846/0.1452, allocations: 0.6214 MB / 0.6886 GB, free: 7.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1452, allocations: 0 / 0.6886 GB, free: 7.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.1455, allocations: 64 kB / 0.6887 GB, free: 7.605 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 (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.0006652/0.1462, allocations: 0.7644 MB / 0.6894 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002531/0.1465, allocations: 83.92 kB / 0.6895 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1465, allocations: 0 / 0.6895 GB, free: 6.73 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1466, allocations: 47.97 kB / 0.6896 GB, free: 6.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.1468, allocations: 13.31 kB / 0.6896 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.15, allocations: 3.303 MB / 0.6928 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1502, allocations: 0.7317 MB / 0.6935 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.1503, allocations: 20.64 kB / 0.6935 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.1504, allocations: 51.41 kB / 0.6936 GB, free: 2.469 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1504, allocations: 0 / 0.6936 GB, free: 2.469 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.1711, allocations: 4.578 MB / 0.6981 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.06/7.232, allocations: 18.03 kB / 0.6981 GB, free: 14.04 MB / 0.4981 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)