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.001359/0.001359, allocations: 108 kB / 15.61 MB, free: 152 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.001348/0.001348, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002556/0.002556, allocations: 275 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.6 MB / 0.5073 GB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002752/0.002752, allocations: 100 kB / 0.6065 GB, free: 24.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1557, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.4846/0.6404, allocations: 202 MB / 0.8908 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01175/0.6521, allocations: 7.395 MB / 0.898 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.6534, allocations: 35.81 kB / 0.8981 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.6553, allocations: 0.6914 MB / 0.8987 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00573/0.661, allocations: 2.407 MB / 0.9011 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.6641, allocations: 1.229 MB / 0.9023 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.6678, allocations: 2.914 MB / 0.9051 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.6692, allocations: 0.9517 MB / 0.9061 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001592/0.6708, allocations: 1.008 MB / 0.9071 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.6726, allocations: 0.9616 MB / 0.908 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.6729, allocations: 112 kB / 0.9081 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004364/0.6772, allocations: 2.139 MB / 0.9102 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004952/0.6777, allocations: 442.8 kB / 0.9106 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008065/0.6785, allocations: 0.6689 MB / 0.9113 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/0.6821, allocations: 2.388 MB / 0.9136 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.6821, allocations: 4 kB / 0.9136 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6821, allocations: 0 / 0.9136 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.6822, allocations: 0 / 0.9136 GB, free: 10.14 MB / 0.6387 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.00337/0.6855, allocations: 1.625 MB / 0.9152 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.6856, allocations: 11.97 kB / 0.9152 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.6858, allocations: 135.3 kB / 0.9153 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/0.6883, allocations: 378.2 kB / 0.9157 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.6896, allocations: 0.8046 MB / 0.9165 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.6897, allocations: 69.88 kB / 0.9165 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.6899, allocations: 89.98 kB / 0.9166 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.6918, allocations: 1.038 MB / 0.9176 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.6918, allocations: 3.906 kB / 0.9176 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.6919, allocations: 39.98 kB / 0.9177 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.692, allocations: 41.98 kB / 0.9177 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.6937, allocations: 0.8861 MB / 0.9186 GB, free: 4.891 MB / 0.6387 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.005411/0.6991, allocations: 4.327 MB / 0.9228 GB, free: 216 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.7005, allocations: 0.696 MB / 0.9235 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008208/0.7013, allocations: 455 kB / 0.9239 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.7021, allocations: 0.6771 MB / 0.9246 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.7021, allocations: 43.12 kB / 0.9246 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.585e-06/0.7021, allocations: 0 / 0.9246 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.001957/0.7041, allocations: 0.99 MB / 0.9256 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.7041, allocations: 59.97 kB / 0.9256 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008506/0.705, allocations: 0.6372 MB / 0.9263 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.7051, allocations: 41.7 kB / 0.9263 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.7054, allocations: 428.1 kB / 0.9267 GB, free: 12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.7057, allocations: 248.3 kB / 0.927 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.7059, allocations: 118.2 kB / 0.9271 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002795/0.7062, allocations: 398.6 kB / 0.9274 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.7067, allocations: 277.2 kB / 0.9277 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005522/0.7072, allocations: 357 kB / 0.9281 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.7083, allocations: 0.6587 MB / 0.9287 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7083, allocations: 0 / 0.9287 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001505/0.7099, allocations: 0.793 MB / 0.9295 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.7099, allocations: 7.984 kB / 0.9295 GB, free: 9.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.7099, allocations: 5.562 kB / 0.9295 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.7099, allocations: 4 kB / 0.9295 GB, free: 9.094 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006449/0.7106, allocations: 140.9 kB / 0.9296 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7106, allocations: 4 kB / 0.9296 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/0.7113, allocations: 55.42 kB / 0.9297 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.7114, allocations: 24.19 kB / 0.9297 GB, free: 8.875 MB / 0.6544 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.0003884/0.7118, allocations: 289.5 kB / 0.93 GB, free: 8.582 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.7119, allocations: 94.95 kB / 0.9301 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.7135, allocations: 0.7973 MB / 0.9308 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.7135, allocations: 8 kB / 0.9309 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7135, allocations: 0 / 0.9309 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/0.7147, allocations: 0.8152 MB / 0.9317 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.7175, allocations: 1.854 MB / 0.9335 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7175, allocations: 0 / 0.9335 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.7184, allocations: 179.7 kB / 0.9336 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.7184, allocations: 4 kB / 0.9336 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.7184, allocations: 12 kB / 0.9336 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.7184, allocations: 7.984 kB / 0.9337 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7185, allocations: 0 / 0.9337 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.7204, allocations: 1.19 MB / 0.9348 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.7208, allocations: 240 kB / 0.935 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.7209, allocations: 20 kB / 0.9351 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006429/0.7216, allocations: 25.52 kB / 0.9351 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.7217, allocations: 44.5 kB / 0.9351 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/0.7218, allocations: 23.98 kB / 0.9352 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005668/0.7223, allocations: 459 kB / 0.9356 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7223, allocations: 0 / 0.9356 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008089/0.7232, allocations: 339.2 kB / 0.9359 GB, free: 2.359 MB / 0.6544 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.00245/0.7256, allocations: 1.84 MB / 0.9377 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.7273, allocations: 0.824 MB / 0.9385 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7273, allocations: 0 / 0.9385 GB, free: 15.67 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.7279, allocations: 375 kB / 0.9389 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.7303, allocations: 0.5508 MB / 0.9394 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.7409, allocations: 7.183 MB / 0.9464 GB, free: 7.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008987/0.7418, allocations: 1.096 MB / 0.9475 GB, free: 6.289 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000901/0.7427, allocations: 223.2 kB / 0.9477 GB, free: 6.066 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.7432, allocations: 359.3 kB / 0.9481 GB, free: 5.715 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/0.7432, allocations: 4 kB / 0.9481 GB, free: 5.711 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05927/0.8025, allocations: 25.11 MB / 0.9726 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.381/9.183, allocations: 20.05 kB / 0.9726 GB, free: 12.98 MB / 0.7012 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)