Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",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.001128/0.001128, 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.001129/0.001129, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.301/1.301, 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.002079/0.002079, allocations: 291 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001742, allocations: 97 kB / 0.5953 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.144, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.4676/0.6116, allocations: 202 MB / 0.8775 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.6218, allocations: 7.381 MB / 0.8847 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.6229, allocations: 36.81 kB / 0.8847 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001715/0.6246, allocations: 0.6942 MB / 0.8854 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005626/0.6303, allocations: 2.409 MB / 0.8878 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.6331, allocations: 1.228 MB / 0.889 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003181/0.6363, allocations: 2.911 MB / 0.8918 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.6375, allocations: 0.9567 MB / 0.8928 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.639, allocations: 1.009 MB / 0.8937 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.6404, allocations: 0.9576 MB / 0.8947 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.6406, allocations: 111.2 kB / 0.8948 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003656/0.6443, allocations: 2.131 MB / 0.8969 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003839/0.6447, allocations: 458 kB / 0.8973 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.6453, allocations: 0.6589 MB / 0.8979 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.6484, allocations: 2.386 MB / 0.9003 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6484, allocations: 0 / 0.9003 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6484, allocations: 0 / 0.9003 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.6484, allocations: 0 / 0.9003 GB, free: 6.059 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002935/0.6513, allocations: 1.629 MB / 0.9019 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.6514, allocations: 12.03 kB / 0.9019 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.6515, allocations: 135.3 kB / 0.902 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.654, allocations: 378.2 kB / 0.9024 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.6551, allocations: 0.8084 MB / 0.9032 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.6552, allocations: 69.94 kB / 0.9032 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.6553, allocations: 88 kB / 0.9033 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.6569, allocations: 1.045 MB / 0.9043 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.6569, allocations: 0 / 0.9043 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.232e-05/0.657, allocations: 36 kB / 0.9044 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.443e-05/0.6571, allocations: 49.92 kB / 0.9044 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.6585, allocations: 0.8744 MB / 0.9053 GB, free: 0.8047 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.6629, allocations: 4.331 MB / 0.9095 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.664, allocations: 0.6947 MB / 0.9102 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007373/0.6647, allocations: 463.5 kB / 0.9106 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.6653, allocations: 0.6732 MB / 0.9113 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6653, allocations: 43.11 kB / 0.9113 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.053e-06/0.6654, allocations: 0 / 0.9113 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001759/0.6671, allocations: 0.9899 MB / 0.9123 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.6672, allocations: 63.95 kB / 0.9123 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.6678, allocations: 0.6333 MB / 0.913 GB, free: 8.375 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.6679, allocations: 41.7 kB / 0.913 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/0.6682, allocations: 432.1 kB / 0.9134 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.6684, allocations: 252.3 kB / 0.9136 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.6685, allocations: 118.2 kB / 0.9138 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.6687, allocations: 394.7 kB / 0.9141 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.6691, allocations: 273.2 kB / 0.9144 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.6696, allocations: 357.1 kB / 0.9147 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.6706, allocations: 0.6626 MB / 0.9154 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6706, allocations: 0 / 0.9154 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001215/0.6718, allocations: 0.7931 MB / 0.9162 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6719, allocations: 4 kB / 0.9162 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6719, allocations: 4 kB / 0.9162 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6719, allocations: 4 kB / 0.9162 GB, free: 5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.6725, allocations: 148 kB / 0.9163 GB, free: 4.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6726, allocations: 9.5 kB / 0.9163 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/0.6733, allocations: 49.69 kB / 0.9164 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.6733, allocations: 27.98 kB / 0.9164 GB, free: 4.773 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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 0.0003351/0.6737, allocations: 290.2 kB / 0.9167 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.6738, allocations: 83.06 kB / 0.9168 GB, free: 4.398 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.6752, allocations: 0.7997 MB / 0.9175 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.6752, allocations: 7.984 kB / 0.9175 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6752, allocations: 4 kB / 0.9175 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.6763, allocations: 0.823 MB / 0.9183 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.6787, allocations: 1.844 MB / 0.9201 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6787, allocations: 0 / 0.9201 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/0.6795, allocations: 171.7 kB / 0.9203 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.6795, allocations: 0 / 0.9203 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.6796, allocations: 20 kB / 0.9203 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6796, allocations: 3.938 kB / 0.9203 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6796, allocations: 4 kB / 0.9203 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.6813, allocations: 1.201 MB / 0.9215 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003209/0.6817, allocations: 244 kB / 0.9217 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6818, allocations: 12 kB / 0.9218 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/0.6824, allocations: 27.25 kB / 0.9218 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.6825, allocations: 40.5 kB / 0.9218 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.6826, allocations: 23.98 kB / 0.9218 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004956/0.6831, allocations: 459 kB / 0.9223 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6831, allocations: 0 / 0.9223 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007395/0.6838, allocations: 339.2 kB / 0.9226 GB, free: 14.26 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.002061/0.6859, allocations: 1.84 MB / 0.9244 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001518/0.6874, allocations: 0.8162 MB / 0.9252 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6874, allocations: 0 / 0.9252 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.688, allocations: 371 kB / 0.9256 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.6904, allocations: 0.5535 MB / 0.9261 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009218/0.6996, allocations: 7.195 MB / 0.9331 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.7002, allocations: 1.085 MB / 0.9342 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009683/0.7012, allocations: 227.1 kB / 0.9344 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.7017, allocations: 359.3 kB / 0.9347 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of SimCode: time 5.62e-07/0.7018, allocations: 0 / 0.9347 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.7475, allocations: 25.12 MB / 0.9593 GB, free: 8.887 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.516, allocations: 8.578 kB / 0.9593 GB, free: 8.883 MB / 0.67 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)