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.001763/0.001763, 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.001851/0.001851, allocations: 193 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 282.6 kB / 290.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 178.6 MB / 0.5073 GB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 100.3 kB / 0.6066 GB, free: 24.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.149, allocations: 89.15 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002553/0.1516, allocations: 1.221 MB / 0.6948 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1528, allocations: 0.7235 MB / 0.6955 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.1529, allocations: 0 / 0.6955 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.1529, allocations: 0 / 0.6955 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.153, allocations: 7.156 kB / 0.6955 GB, free: 2.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1533, allocations: 91.69 kB / 0.6956 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.1534, allocations: 11.88 kB / 0.6956 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.1534, allocations: 7.969 kB / 0.6956 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.364e-05/0.1535, allocations: 8 kB / 0.6956 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.712e-05/0.1535, allocations: 8 kB / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.1535, allocations: 0 / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.1538, allocations: 127.8 kB / 0.6958 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.1538, allocations: 7.984 kB / 0.6958 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1539, allocations: 11.92 kB / 0.6958 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.154, allocations: 72.11 kB / 0.6958 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.154, allocations: 4 kB / 0.6958 GB, free: 1.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1541, allocations: 0 / 0.6958 GB, free: 1.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1541, allocations: 0 / 0.6958 GB, free: 1.949 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.0003816/0.1544, allocations: 339.4 kB / 0.6962 GB, free: 1.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1545, allocations: 8.031 kB / 0.6962 GB, free: 1.562 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1545, allocations: 30.75 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.1546, allocations: 4.938 kB / 0.6962 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.1547, allocations: 164.4 kB / 0.6964 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1547, allocations: 4.312 kB / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.1547, allocations: 3.938 kB / 0.6964 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.718e-05/0.1548, allocations: 33.7 kB / 0.6964 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.902e-06/0.1548, allocations: 0 / 0.6964 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.1548, allocations: 4 kB / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.1548, allocations: 0 / 0.6964 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.1549, allocations: 4 kB / 0.6964 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.155, allocations: 153.7 kB / 0.6966 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.1551, allocations: 26.48 kB / 0.6966 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.1551, allocations: 8.922 kB / 0.6966 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/0.1556, allocations: 421.5 kB / 0.697 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1556, allocations: 30.56 kB / 0.697 GB, free: 488 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1556, allocations: 0 / 0.697 GB, free: 488 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.1557, allocations: 37.69 kB / 0.6971 GB, free: 444 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.1558, allocations: 55.41 kB / 0.6971 GB, free: 376 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.1559, allocations: 93.86 kB / 0.6972 GB, free: 272 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1559, allocations: 29.64 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.1559, allocations: 88.39 kB / 0.6973 GB, free: 144 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.156, allocations: 3.906 kB / 0.6973 GB, free: 140 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.156, allocations: 21.64 kB / 0.6973 GB, free: 112 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1561, allocations: 314.8 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.1562, allocations: 0 / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.1562, allocations: 8 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.1562, allocations: 12.86 kB / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1562, allocations: 0 / 0.6977 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.557e-05/0.1563, allocations: 45.69 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1563, allocations: 4 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-06/0.1563, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1563, allocations: 4 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.1564, allocations: 0 / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1564, allocations: 3.938 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1564, allocations: 11.88 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.1564, allocations: 0 / 0.6977 GB, free: 15.7 MB / 0.4981 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 (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 8.441e-05/0.1565, allocations: 117.8 kB / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.194e-06/0.1565, allocations: 0 / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.1566, allocations: 44.81 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.1566, allocations: 4 kB / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1566, allocations: 0 / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1566, allocations: 0 / 0.6979 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1567, allocations: 149.6 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1568, allocations: 4 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.1568, allocations: 0 / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1568, allocations: 0 / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.1568, allocations: 4.031 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1568, allocations: 4 kB / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1568, allocations: 3.938 kB / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.452e-05/0.1569, allocations: 72.97 kB / 0.6981 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1569, allocations: 77.11 kB / 0.6982 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.157, allocations: 4 kB / 0.6982 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.157, allocations: 0 / 0.6982 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.157, allocations: 3.984 kB / 0.6982 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.157, allocations: 4.031 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.1571, allocations: 83.27 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1571, allocations: 3.938 kB / 0.6983 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00021/0.1573, allocations: 20 kB / 0.6983 GB, free: 15.01 MB / 0.4981 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 (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.0004715/0.1578, allocations: 0.632 MB / 0.6989 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.1578, allocations: 11.98 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.1578, allocations: 0 / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.1579, allocations: 4 kB / 0.6989 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.158, allocations: 4 kB / 0.6989 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.1583, allocations: 135.2 kB / 0.6991 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1586, allocations: 0.6769 MB / 0.6997 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.459e-05/0.1586, allocations: 3.938 kB / 0.6997 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.1587, allocations: 11.42 kB / 0.6997 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1587, allocations: 0 / 0.6997 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.1796, allocations: 1.509 MB / 0.7012 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.097, allocations: 21.8 kB / 0.7012 GB, free: 12.04 MB / 0.4981 GB (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)