Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001239/0.001239, 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.001251/0.001252, allocations: 194.3 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9797/0.9797, allocations: 143 MB / 433.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 0.5143 GB, free: 11.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.182, allocations: 82.04 MB / 0.5944 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5244/0.7064, allocations: 202.1 MB / 0.7917 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.7181, allocations: 7.401 MB / 0.799 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009205/0.7191, allocations: 35.81 kB / 0.799 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001791/0.7209, allocations: 0.6992 MB / 0.7997 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.7264, allocations: 2.4 MB / 0.802 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003295/0.7297, allocations: 1.223 MB / 0.8032 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003526/0.7333, allocations: 2.918 MB / 0.8061 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.7345, allocations: 0.9469 MB / 0.807 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.7358, allocations: 1.008 MB / 0.808 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.7373, allocations: 0.9673 MB / 0.8089 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.7375, allocations: 112 kB / 0.809 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003993/0.7415, allocations: 2.128 MB / 0.8111 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004229/0.7419, allocations: 450.8 kB / 0.8115 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006586/0.7426, allocations: 0.6689 MB / 0.8122 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.7457, allocations: 2.462 MB / 0.8146 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7457, allocations: 0 / 0.8146 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7457, allocations: 0 / 0.8146 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.7457, allocations: 4 kB / 0.8146 GB, free: 11.62 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.003138/0.7489, allocations: 1.628 MB / 0.8162 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.7489, allocations: 16.02 kB / 0.8162 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001691/0.7491, allocations: 131.3 kB / 0.8163 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/0.7515, allocations: 378.2 kB / 0.8167 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.7526, allocations: 0.8046 MB / 0.8175 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.7527, allocations: 77.88 kB / 0.8176 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.7528, allocations: 83.91 kB / 0.8176 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.7544, allocations: 1.038 MB / 0.8186 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.7545, allocations: 8 kB / 0.8187 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.7546, allocations: 32 kB / 0.8187 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.405e-05/0.7546, allocations: 45.98 kB / 0.8187 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.7562, allocations: 0.8822 MB / 0.8196 GB, free: 6.379 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.004847/0.761, allocations: 4.327 MB / 0.8238 GB, free: 1.699 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.7622, allocations: 0.6959 MB / 0.8245 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.763, allocations: 462.9 kB / 0.8249 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.7638, allocations: 0.6732 MB / 0.8256 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.7639, allocations: 39.12 kB / 0.8256 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 3.267e-06/0.7639, allocations: 0 / 0.8256 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.002014/0.7659, allocations: 0.9901 MB / 0.8266 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.766, allocations: 59.97 kB / 0.8267 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007916/0.7668, allocations: 0.6373 MB / 0.8273 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/0.7668, allocations: 37.7 kB / 0.8273 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003165/0.7672, allocations: 428.1 kB / 0.8277 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.7674, allocations: 256.2 kB / 0.828 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.7676, allocations: 114.3 kB / 0.8281 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.7678, allocations: 398.6 kB / 0.8285 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/0.7683, allocations: 277.2 kB / 0.8287 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004922/0.7688, allocations: 357 kB / 0.8291 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/0.7698, allocations: 0.6632 MB / 0.8297 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7698, allocations: 0 / 0.8297 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001261/0.771, allocations: 0.8008 MB / 0.8305 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7711, allocations: 5.25 kB / 0.8305 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7711, allocations: 192 / 0.8305 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.7711, allocations: 12 kB / 0.8305 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.7717, allocations: 141.1 kB / 0.8306 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.7718, allocations: 4 kB / 0.8306 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000735/0.7725, allocations: 47.52 kB / 0.8307 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.7726, allocations: 27.94 kB / 0.8307 GB, free: 10.36 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.000439/0.773, allocations: 294.2 kB / 0.831 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.7732, allocations: 86.97 kB / 0.8311 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.7746, allocations: 0.7889 MB / 0.8319 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.7746, allocations: 11.98 kB / 0.8319 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7746, allocations: 0 / 0.8319 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.7758, allocations: 0.8192 MB / 0.8327 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002702/0.7785, allocations: 1.848 MB / 0.8345 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7785, allocations: 3 kB / 0.8345 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008104/0.7793, allocations: 171.7 kB / 0.8346 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.7793, allocations: 0 / 0.8346 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.7794, allocations: 23.98 kB / 0.8347 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7794, allocations: 3.938 kB / 0.8347 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.7794, allocations: 4 kB / 0.8347 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/0.7811, allocations: 1.19 MB / 0.8358 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.7815, allocations: 251.8 kB / 0.8361 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.7816, allocations: 12 kB / 0.8361 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.7822, allocations: 27.17 kB / 0.8361 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.7823, allocations: 40.5 kB / 0.8361 GB, free: 4.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-05/0.7824, allocations: 28 kB / 0.8362 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005468/0.783, allocations: 455 kB / 0.8366 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.783, allocations: 0 / 0.8366 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008189/0.7838, allocations: 339.2 kB / 0.8369 GB, free: 3.848 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.002271/0.7861, allocations: 1.841 MB / 0.8387 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.7876, allocations: 0.8123 MB / 0.8395 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7876, allocations: 4.375 kB / 0.8395 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/0.7881, allocations: 379 kB / 0.8399 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/0.7905, allocations: 0.5418 MB / 0.8404 GB, free: 300 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009647/0.8001, allocations: 7.207 MB / 0.8475 GB, free: 8.922 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000672/0.8008, allocations: 1.089 MB / 0.8485 GB, free: 7.809 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008538/0.8017, allocations: 223.2 kB / 0.8487 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.8022, allocations: 359.3 kB / 0.8491 GB, free: 7.238 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.8022, allocations: 0 / 0.8491 GB, free: 7.238 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6948/1.497, allocations: 25.15 MB / 0.8736 GB, free: 209.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.234/9.731, allocations: 11.03 kB / 0.8736 GB, free: 209.9 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)