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.001132/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00113/0.00113, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.154/1.154, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001879, allocations: 278.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8123/0.8123, allocations: 169.2 MB / 0.4977 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 89.77 kB / 0.5946 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1186, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00205/0.1206, allocations: 1.502 MB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1218, allocations: 0.9055 MB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1218, allocations: 4 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.1219, allocations: 11.92 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1223, allocations: 110.2 kB / 0.682 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1225, allocations: 83.78 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.493e-05/0.1226, allocations: 79.8 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.016e-05/0.1226, allocations: 11.94 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.554e-05/0.1227, allocations: 35.84 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.1228, allocations: 43.89 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.1228, allocations: 4 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.1231, allocations: 223.7 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1232, allocations: 55.81 kB / 0.6825 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.1232, allocations: 55.61 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.1235, allocations: 271.2 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1235, allocations: 4 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1235, allocations: 0 / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1235, allocations: 0 / 0.6828 GB, free: 13.69 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.0005535/0.1241, allocations: 0.5022 MB / 0.6833 GB, free: 13.14 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.1241, allocations: 8.031 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.016e-05/0.1241, allocations: 30.75 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.1242, allocations: 16.75 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004774/0.1247, allocations: 0.6472 MB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.011e-06/0.1247, allocations: 4.375 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1247, allocations: 3.938 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.1248, allocations: 77.59 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.1249, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.1249, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1249, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1251, allocations: 83.92 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.1253, allocations: 329.6 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1255, allocations: 114.5 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.1256, allocations: 48.89 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.551e-05/0.1257, allocations: 19.97 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.1257, allocations: 38.5 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1257, allocations: 4 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003433/0.1261, allocations: 173.3 kB / 0.6849 GB, free: 11.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1261, allocations: 51.41 kB / 0.6849 GB, free: 11.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.1267, allocations: 0.778 MB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1267, allocations: 25.7 kB / 0.6857 GB, free: 10.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.1268, allocations: 128.1 kB / 0.6858 GB, free: 10.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1268, allocations: 11.84 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.1268, allocations: 21.7 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.1269, allocations: 326.8 kB / 0.6862 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.054e-05/0.127, allocations: 43.97 kB / 0.6862 GB, free: 10.01 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1271, allocations: 66.47 kB / 0.6863 GB, free: 9.934 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1273, allocations: 84.83 kB / 0.6864 GB, free: 9.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.1273, allocations: 0 / 0.6864 GB, free: 9.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002175/0.1275, allocations: 133.4 kB / 0.6865 GB, free: 9.711 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.1275, allocations: 4 kB / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1276, allocations: 0 / 0.6865 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.635e-06/0.1276, allocations: 3.938 kB / 0.6865 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.689e-05/0.1276, allocations: 11.98 kB / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1276, allocations: 0 / 0.6865 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.1277, allocations: 19.98 kB / 0.6865 GB, free: 9.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.1278, allocations: 3.938 kB / 0.6865 GB, free: 9.668 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 8.428e-05/0.1278, allocations: 131.1 kB / 0.6867 GB, free: 9.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.1279, allocations: 23.7 kB / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002463/0.1281, allocations: 130.9 kB / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1281, allocations: 0 / 0.6868 GB, free: 9.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1282, allocations: 11.98 kB / 0.6868 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1282, allocations: 0 / 0.6868 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1283, allocations: 225.5 kB / 0.687 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1283, allocations: 0 / 0.687 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.1284, allocations: 11.98 kB / 0.687 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1284, allocations: 0 / 0.687 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.1284, allocations: 0 / 0.687 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1284, allocations: 4 kB / 0.687 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1284, allocations: 3.938 kB / 0.6871 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1286, allocations: 156.8 kB / 0.6872 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.1287, allocations: 104.9 kB / 0.6873 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.1287, allocations: 0 / 0.6873 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.1288, allocations: 8 kB / 0.6873 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1288, allocations: 11.92 kB / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.1288, allocations: 0 / 0.6873 GB, free: 8.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004375/0.1293, allocations: 0.6136 MB / 0.6879 GB, free: 8.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1293, allocations: 8 kB / 0.6879 GB, free: 8.133 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1296, allocations: 75.98 kB / 0.688 GB, free: 8.059 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.0005884/0.1302, allocations: 0.7473 MB / 0.6887 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1304, allocations: 87.97 kB / 0.6888 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1304, allocations: 0 / 0.6888 GB, free: 7.199 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.1305, allocations: 47.95 kB / 0.6889 GB, free: 7.152 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.1307, allocations: 20.5 kB / 0.6889 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002744/0.1334, allocations: 3.324 MB / 0.6921 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1337, allocations: 0.7204 MB / 0.6928 GB, free: 2.992 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.027e-05/0.1337, allocations: 24.62 kB / 0.6929 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.1338, allocations: 47.42 kB / 0.6929 GB, free: 2.922 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1338, allocations: 0 / 0.6929 GB, free: 2.922 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.515/2.649, allocations: 4.375 MB / 0.6972 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/2.65, allocations: 229.3 kB / 0.6974 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/5.496, allocations: 0 / 0.6974 GB, free: 14.47 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1)