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.0008432/0.0008433, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004873/0.004873, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.361/1.361, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001764/0.001764, allocations: 270.7 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003955, allocations: 16.97 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00144/0.1559, allocations: 1.17 MB / 0.6864 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1572, allocations: 0.8932 MB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.695e-05/0.1572, allocations: 0 / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.1573, allocations: 13.36 kB / 0.6873 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004008/0.1577, allocations: 107 kB / 0.6874 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.1579, allocations: 90.31 kB / 0.6874 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.796e-05/0.158, allocations: 86.86 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.606e-05/0.1581, allocations: 3.938 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.1582, allocations: 35.91 kB / 0.6876 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1583, allocations: 47.83 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.1583, allocations: 4 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.1586, allocations: 224.1 kB / 0.6878 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.904e-05/0.1587, allocations: 56.3 kB / 0.6879 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.1588, allocations: 85.88 kB / 0.688 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.1591, allocations: 267.2 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1591, allocations: 1.156 kB / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1591, allocations: 0 / 0.6882 GB, free: 11.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.1591, allocations: 0 / 0.6882 GB, free: 11.93 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.000579/0.1597, allocations: 486 kB / 0.6887 GB, free: 11.41 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1597, allocations: 8.031 kB / 0.6887 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.436e-05/0.1598, allocations: 34.75 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1598, allocations: 20.66 kB / 0.6887 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.1604, allocations: 0.6472 MB / 0.6894 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.1604, allocations: 9.062 kB / 0.6894 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1604, allocations: 7.938 kB / 0.6894 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1606, allocations: 79.41 kB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.1606, allocations: 0 / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1606, allocations: 1.719 kB / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1606, allocations: 0 / 0.6895 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.1608, allocations: 93.16 kB / 0.6896 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.1611, allocations: 327.9 kB / 0.6899 GB, free: 10.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.1614, allocations: 124.5 kB / 0.69 GB, free: 9.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1615, allocations: 52.89 kB / 0.69 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.1615, allocations: 20.72 kB / 0.6901 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.1616, allocations: 35.42 kB / 0.6901 GB, free: 9.852 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1616, allocations: 0 / 0.6901 GB, free: 9.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004067/0.162, allocations: 180.7 kB / 0.6903 GB, free: 9.672 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.162, allocations: 55.41 kB / 0.6903 GB, free: 9.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006276/0.1627, allocations: 0.7742 MB / 0.6911 GB, free: 8.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1627, allocations: 25.7 kB / 0.6911 GB, free: 8.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.1628, allocations: 144 kB / 0.6912 GB, free: 8.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.1628, allocations: 11.75 kB / 0.6912 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/0.1628, allocations: 9.719 kB / 0.6913 GB, free: 8.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.163, allocations: 334.8 kB / 0.6916 GB, free: 8.281 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1631, allocations: 47.97 kB / 0.6916 GB, free: 8.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1632, allocations: 58.55 kB / 0.6917 GB, free: 8.168 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.1634, allocations: 104.8 kB / 0.6918 GB, free: 8.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1634, allocations: 0 / 0.6918 GB, free: 8.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002503/0.1637, allocations: 137.4 kB / 0.6919 GB, free: 7.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1637, allocations: 9.719 kB / 0.6919 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1637, allocations: 4.328 kB / 0.6919 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1637, allocations: 3.938 kB / 0.6919 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/0.1638, allocations: 11.98 kB / 0.6919 GB, free: 7.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1638, allocations: 4 kB / 0.6919 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.1639, allocations: 15.98 kB / 0.692 GB, free: 7.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1639, allocations: 0 / 0.692 GB, free: 7.875 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.235e-05/0.164, allocations: 139.1 kB / 0.6921 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1641, allocations: 19.8 kB / 0.6921 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.1644, allocations: 150.8 kB / 0.6922 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1644, allocations: 0 / 0.6922 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1644, allocations: 0 / 0.6922 GB, free: 7.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1644, allocations: 4 kB / 0.6922 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1646, allocations: 229.5 kB / 0.6925 GB, free: 7.273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1646, allocations: 4 kB / 0.6925 GB, free: 7.27 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.618e-05/0.1646, allocations: 11.94 kB / 0.6925 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1647, allocations: 7.875 kB / 0.6925 GB, free: 7.25 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1647, allocations: 3.984 kB / 0.6925 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1647, allocations: 0 / 0.6925 GB, free: 7.246 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1647, allocations: 4 kB / 0.6925 GB, free: 7.242 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.165, allocations: 164.8 kB / 0.6927 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.845e-05/0.165, allocations: 104.9 kB / 0.6928 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1651, allocations: 0 / 0.6928 GB, free: 6.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.618e-05/0.1652, allocations: 15.98 kB / 0.6928 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.1652, allocations: 0 / 0.6928 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1652, allocations: 4 kB / 0.6928 GB, free: 6.922 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004841/0.1657, allocations: 0.6214 MB / 0.6934 GB, free: 6.301 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1657, allocations: 0 / 0.6934 GB, free: 6.301 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.166, allocations: 72 kB / 0.6935 GB, free: 6.23 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.0006571/0.1667, allocations: 0.7566 MB / 0.6942 GB, free: 5.445 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002774/0.1669, allocations: 99.92 kB / 0.6943 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.167, allocations: 0 / 0.6943 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1671, allocations: 51.91 kB / 0.6943 GB, free: 5.297 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1673, allocations: 15.2 kB / 0.6943 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/0.1706, allocations: 3.358 MB / 0.6976 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.1709, allocations: 0.7243 MB / 0.6983 GB, free: 1.098 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.433e-05/0.171, allocations: 28.98 kB / 0.6984 GB, free: 1.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.1711, allocations: 51.41 kB / 0.6984 GB, free: 1.02 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1711, allocations: 0 / 0.6984 GB, free: 1.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.1884, allocations: 4.174 MB / 0.7025 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.1886, allocations: 234.3 kB / 0.7027 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/1.973, allocations: 0 / 0.7027 GB, free: 12.79 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)