Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IBPSA_latest_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.00112/0.00112, allocations: 97.05 kB / 15.68 MB, free: 488 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.002141/0.002141, allocations: 176 kB / 16.57 MB, free: 6.387 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.417/1.417, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7632/0.7632, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 8 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1785, allocations: 77.12 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6287/0.8072, allocations: 167.1 MB / 0.7199 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.8204, allocations: 7.362 MB / 0.727 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.8222, allocations: 27.81 kB / 0.7271 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.8242, allocations: 0.6377 MB / 0.7277 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008157/0.8324, allocations: 2.096 MB / 0.7297 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.8356, allocations: 0.971 MB / 0.7307 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003266/0.8389, allocations: 1.682 MB / 0.7323 GB, free: 6.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.8401, allocations: 0.6774 MB / 0.733 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.8417, allocations: 0.8021 MB / 0.7338 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008195/0.8425, allocations: 0.6031 MB / 0.7344 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.8427, allocations: 51.94 kB / 0.7344 GB, free: 3.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.845, allocations: 0.897 MB / 0.7353 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.8454, allocations: 347 kB / 0.7356 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.8457, allocations: 261.1 kB / 0.7359 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.8476, allocations: 1.471 MB / 0.7373 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.8476, allocations: 4 kB / 0.7373 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8476, allocations: 0 / 0.7373 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.003e-05/0.8476, allocations: 0 / 0.7373 GB, free: 0.9805 MB / 0.545 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.003031/0.8507, allocations: 1.379 MB / 0.7387 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8507, allocations: 12.03 kB / 0.7387 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001583/0.8509, allocations: 138.1 kB / 0.7388 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002725/0.8536, allocations: 386.2 kB / 0.7392 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.8551, allocations: 0.7856 MB / 0.7399 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.8551, allocations: 58 kB / 0.74 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.8553, allocations: 84 kB / 0.7401 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.8572, allocations: 1.03 MB / 0.7411 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.8572, allocations: 4 kB / 0.7411 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.8573, allocations: 39.94 kB / 0.7411 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.8574, allocations: 45.98 kB / 0.7412 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.859, allocations: 0.8783 MB / 0.742 GB, free: 12.02 MB / 0.5606 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.005723/0.8648, allocations: 4.3 MB / 0.7462 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.8662, allocations: 0.6878 MB / 0.7469 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007044/0.8669, allocations: 0.6732 MB / 0.7476 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.8669, allocations: 43.12 kB / 0.7476 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/0.8669, allocations: 0 / 0.7476 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002397/0.8693, allocations: 1.002 MB / 0.7486 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.8694, allocations: 55.97 kB / 0.7486 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008384/0.8702, allocations: 0.6333 MB / 0.7492 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.8703, allocations: 45.7 kB / 0.7493 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.8707, allocations: 428.1 kB / 0.7497 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.871, allocations: 256.4 kB / 0.7499 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.871, allocations: 8 kB / 0.7499 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.8712, allocations: 390.8 kB / 0.7503 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005601/0.8718, allocations: 273.2 kB / 0.7506 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.8723, allocations: 353.1 kB / 0.7509 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.873, allocations: 331.1 kB / 0.7512 GB, free: 2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.873, allocations: 4 kB / 0.7512 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001352/0.8744, allocations: 0.7853 MB / 0.752 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8744, allocations: 11.94 kB / 0.752 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.8744, allocations: 0 / 0.752 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.8744, allocations: 4 kB / 0.752 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.8751, allocations: 155.9 kB / 0.7522 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8751, allocations: 4 kB / 0.7522 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.8762, allocations: 119.2 kB / 0.7523 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.8762, allocations: 24 kB / 0.7523 GB, free: 0.8906 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004674/0.8767, allocations: 289.6 kB / 0.7526 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.8769, allocations: 86.95 kB / 0.7527 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.8783, allocations: 0.8005 MB / 0.7535 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.8783, allocations: 8 kB / 0.7535 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8783, allocations: 3.953 kB / 0.7535 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.8795, allocations: 0.8229 MB / 0.7543 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.881, allocations: 0.9734 MB / 0.7552 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.881, allocations: 4 kB / 0.7552 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/0.882, allocations: 163.8 kB / 0.7554 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/0.882, allocations: 4 kB / 0.7554 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.8821, allocations: 16 kB / 0.7554 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.8821, allocations: 7.938 kB / 0.7554 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.8821, allocations: 0 / 0.7554 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.8841, allocations: 1.201 MB / 0.7566 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.8846, allocations: 240 kB / 0.7568 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.8848, allocations: 15.94 kB / 0.7568 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000973/0.8857, allocations: 79.5 kB / 0.7569 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.8859, allocations: 48.5 kB / 0.7569 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.886, allocations: 23.98 kB / 0.757 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007392/0.8867, allocations: 447 kB / 0.7574 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8867, allocations: 0 / 0.7574 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001332/0.8881, allocations: 335.2 kB / 0.7577 GB, free: 11.22 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002474/0.8906, allocations: 1.837 MB / 0.7595 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.8918, allocations: 0.6759 MB / 0.7602 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.8918, allocations: 4 kB / 0.7602 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.8924, allocations: 371 kB / 0.7605 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.8955, allocations: 0.5048 MB / 0.761 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/0.9042, allocations: 6.656 MB / 0.7675 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006716/0.9049, allocations: 1.116 MB / 0.7686 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001023/0.9059, allocations: 227.5 kB / 0.7688 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004799/0.9064, allocations: 355.3 kB / 0.7692 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of SimCode: time 1.913e-06/0.9064, allocations: 0 / 0.7692 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06657/0.973, allocations: 25.02 MB / 0.7936 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/0.9734, allocations: 175.7 kB / 0.7938 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.538/3.511, allocations: 0 / 0.7938 GB, free: 6.438 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) Environment - environmentSimulation: