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.0008333/0.0008334, allocations: 92.78 kB / 15.7 MB, free: 472 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.00108/0.00108, allocations: 172.2 kB / 16.58 MB, free: 6.848 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.346/1.346, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6621/0.6621, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8.219 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.4427/0.5936, allocations: 183.8 MB / 0.7364 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009913/0.6036, allocations: 6.929 MB / 0.7432 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.6047, allocations: 31.81 kB / 0.7432 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.606, allocations: 465.1 kB / 0.7437 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004314/0.6104, allocations: 1.753 MB / 0.7454 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/0.6126, allocations: 0.8601 MB / 0.7462 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003388/0.616, allocations: 3.487 MB / 0.7496 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.6168, allocations: 0.6773 MB / 0.7503 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.6179, allocations: 0.8715 MB / 0.7511 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.619, allocations: 0.9223 MB / 0.752 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.539e-05/0.6191, allocations: 48 kB / 0.7521 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002428/0.6215, allocations: 1.052 MB / 0.7531 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.6219, allocations: 378.8 kB / 0.7535 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.6221, allocations: 265.1 kB / 0.7537 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.6236, allocations: 1.602 MB / 0.7553 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6236, allocations: 7.938 kB / 0.7553 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6236, allocations: 0 / 0.7553 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.6236, allocations: 4 kB / 0.7553 GB, free: 15.56 MB / 0.5762 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.002491/0.6261, allocations: 1.418 MB / 0.7567 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6261, allocations: 12.03 kB / 0.7567 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.6263, allocations: 131.3 kB / 0.7568 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.6284, allocations: 378.2 kB / 0.7572 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.6295, allocations: 0.7894 MB / 0.7579 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.6296, allocations: 62 kB / 0.758 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.6297, allocations: 84 kB / 0.7581 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.6312, allocations: 1.038 MB / 0.7591 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.6313, allocations: 7.938 kB / 0.7591 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/0.6313, allocations: 39.38 kB / 0.7591 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-05/0.6314, allocations: 49.98 kB / 0.7592 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.6328, allocations: 0.8744 MB / 0.76 GB, free: 10.56 MB / 0.5762 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.004006/0.6368, allocations: 4.292 MB / 0.7642 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6378, allocations: 0.6917 MB / 0.7649 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.6385, allocations: 455 kB / 0.7653 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005449/0.639, allocations: 0.6693 MB / 0.766 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.6391, allocations: 47.12 kB / 0.766 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.274e-06/0.6391, allocations: 3.938 kB / 0.7661 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001633/0.6407, allocations: 0.9939 MB / 0.767 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.526e-05/0.6408, allocations: 63.95 kB / 0.7671 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.6414, allocations: 0.6255 MB / 0.7677 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.6415, allocations: 45.7 kB / 0.7677 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/0.6418, allocations: 436 kB / 0.7682 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.6419, allocations: 252.3 kB / 0.7684 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.642, allocations: 16 kB / 0.7684 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6421, allocations: 382.8 kB / 0.7688 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.6426, allocations: 277.2 kB / 0.769 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004578/0.643, allocations: 365 kB / 0.7694 GB, free: 416 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.6435, allocations: 315.1 kB / 0.7697 GB, free: 100 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6435, allocations: 7.984 kB / 0.7697 GB, free: 92 kB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0011/0.6446, allocations: 0.7853 MB / 0.7705 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6446, allocations: 4 kB / 0.7705 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6447, allocations: 7.984 kB / 0.7705 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.6447, allocations: 7.953 kB / 0.7705 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.6453, allocations: 147.9 kB / 0.7706 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.6453, allocations: 7.938 kB / 0.7706 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/0.646, allocations: 115.4 kB / 0.7707 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.6461, allocations: 24 kB / 0.7708 GB, free: 14.99 MB / 0.5919 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.000343/0.6464, allocations: 286.3 kB / 0.771 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.6466, allocations: 86.97 kB / 0.7711 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.6478, allocations: 0.7959 MB / 0.7719 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6478, allocations: 4 kB / 0.7719 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.6479, allocations: 7.953 kB / 0.7719 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000963/0.6488, allocations: 0.8152 MB / 0.7727 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.6512, allocations: 1.848 MB / 0.7745 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6512, allocations: 3.938 kB / 0.7745 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/0.6519, allocations: 167.8 kB / 0.7747 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.6519, allocations: 4 kB / 0.7747 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.652, allocations: 19.94 kB / 0.7747 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.652, allocations: 4 kB / 0.7747 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.652, allocations: 0 / 0.7747 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.6535, allocations: 1.194 MB / 0.7759 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003189/0.6539, allocations: 243.9 kB / 0.7761 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.654, allocations: 19.98 kB / 0.7761 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/0.6546, allocations: 91.39 kB / 0.7762 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.2e-05/0.6547, allocations: 48.42 kB / 0.7763 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.6548, allocations: 20 kB / 0.7763 GB, free: 9.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00047/0.6552, allocations: 447 kB / 0.7767 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6552, allocations: 0 / 0.7767 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007595/0.656, allocations: 343.2 kB / 0.777 GB, free: 8.426 MB / 0.5919 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.001954/0.658, allocations: 1.828 MB / 0.7788 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.659, allocations: 0.6796 MB / 0.7795 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.659, allocations: 0 / 0.7795 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.6595, allocations: 375 kB / 0.7798 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.6615, allocations: 0.5247 MB / 0.7803 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007671/0.6692, allocations: 5.827 MB / 0.786 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.6698, allocations: 1.092 MB / 0.7871 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009117/0.6707, allocations: 223.2 kB / 0.7873 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.6712, allocations: 359.3 kB / 0.7877 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of SimCode: time 5.01e-07/0.6712, allocations: 0 / 0.7877 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06942/0.7406, allocations: 25.06 MB / 0.8121 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.7409, allocations: 185.9 kB / 0.8123 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.968, allocations: 0 / 0.8123 GB, free: 4.449 MB / 0.6231 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: