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.0009846/0.0009846, allocations: 111.3 kB / 15.23 MB, free: 0.6562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009936/0.0009935, allocations: 193.4 kB / 16.14 MB, free: 6.676 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.189/1.189, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001986/0.001986, allocations: 290.8 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 32.86/32.86, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 93.16 kB / 0.5946 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1738, allocations: 86.98 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.6801/0.854, allocations: 199.7 MB / 0.8746 GB, free: 8.922 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.8678, allocations: 7.487 MB / 0.8819 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/0.8704, allocations: 32.09 kB / 0.8819 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.873, allocations: 0.6015 MB / 0.8825 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007862/0.8809, allocations: 2.268 MB / 0.8847 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003927/0.8848, allocations: 1.117 MB / 0.8858 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005838/0.8907, allocations: 4.156 MB / 0.8899 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001575/0.8923, allocations: 0.811 MB / 0.8907 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/0.8945, allocations: 0.879 MB / 0.8915 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.8973, allocations: 1.008 MB / 0.8925 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003384/0.8977, allocations: 60.38 kB / 0.8926 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005588/0.9033, allocations: 2.49 MB / 0.895 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007877/0.9041, allocations: 397.4 kB / 0.8954 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.9057, allocations: 0.608 MB / 0.896 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005277/0.911, allocations: 2.506 MB / 0.8984 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.911, allocations: 3.938 kB / 0.8984 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9111, allocations: 4 kB / 0.8984 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.507e-05/0.9111, allocations: 0 / 0.8984 GB, free: 7.738 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.004074/0.9152, allocations: 1.625 MB / 0.9 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.9153, allocations: 8.031 kB / 0.9 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001744/0.9155, allocations: 139.2 kB / 0.9002 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.9179, allocations: 374.2 kB / 0.9005 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.9192, allocations: 0.8084 MB / 0.9013 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.9192, allocations: 69.92 kB / 0.9014 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.9194, allocations: 84 kB / 0.9014 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.9209, allocations: 1.046 MB / 0.9025 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.9209, allocations: 0 / 0.9025 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.207e-05/0.921, allocations: 36 kB / 0.9025 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.9211, allocations: 45.98 kB / 0.9025 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.9225, allocations: 0.8822 MB / 0.9034 GB, free: 2.496 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.004371/0.9269, allocations: 4.288 MB / 0.9076 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.9279, allocations: 0.6951 MB / 0.9083 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.9287, allocations: 459.6 kB / 0.9087 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005781/0.9292, allocations: 0.6732 MB / 0.9094 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.9293, allocations: 47.12 kB / 0.9094 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/0.9293, allocations: 0 / 0.9094 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001769/0.9311, allocations: 0.9939 MB / 0.9104 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.9311, allocations: 59.97 kB / 0.9104 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.9318, allocations: 0.6373 MB / 0.9111 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.9319, allocations: 37.7 kB / 0.9111 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.9322, allocations: 436 kB / 0.9115 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.9324, allocations: 244.3 kB / 0.9118 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.9325, allocations: 118.2 kB / 0.9119 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9327, allocations: 394.7 kB / 0.9122 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.9332, allocations: 273.2 kB / 0.9125 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.9337, allocations: 361 kB / 0.9128 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009589/0.9346, allocations: 0.6626 MB / 0.9135 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9346, allocations: 0 / 0.9135 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001177/0.9358, allocations: 0.7891 MB / 0.9143 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.9358, allocations: 8 kB / 0.9143 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.9359, allocations: 4.188 kB / 0.9143 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.9359, allocations: 4 kB / 0.9143 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/0.9365, allocations: 143.8 kB / 0.9144 GB, free: 6.594 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.9365, allocations: 8 kB / 0.9144 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.9374, allocations: 115.3 kB / 0.9145 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.9375, allocations: 20 kB / 0.9146 GB, free: 6.453 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.0004001/0.9379, allocations: 302.1 kB / 0.9148 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.938, allocations: 82.97 kB / 0.9149 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.9393, allocations: 0.7998 MB / 0.9157 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9393, allocations: 8 kB / 0.9157 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9393, allocations: 0 / 0.9157 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001026/0.9404, allocations: 0.8191 MB / 0.9165 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.9429, allocations: 1.852 MB / 0.9183 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.943, allocations: 0 / 0.9183 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/0.9438, allocations: 167.7 kB / 0.9185 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.9438, allocations: 4 kB / 0.9185 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.382e-05/0.9438, allocations: 12 kB / 0.9185 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.9438, allocations: 4 kB / 0.9185 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.9438, allocations: 0 / 0.9185 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.9455, allocations: 1.197 MB / 0.9197 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.9459, allocations: 243.9 kB / 0.9199 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.946, allocations: 16 kB / 0.9199 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.9467, allocations: 67.84 kB / 0.92 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9469, allocations: 48.44 kB / 0.92 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.9469, allocations: 31.98 kB / 0.9201 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005055/0.9474, allocations: 455 kB / 0.9205 GB, free: 220 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9474, allocations: 7.938 kB / 0.9205 GB, free: 212 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008069/0.9482, allocations: 331.3 kB / 0.9208 GB, free: 15.88 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.002089/0.9503, allocations: 1.848 MB / 0.9226 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001049/0.9514, allocations: 0.6718 MB / 0.9233 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.9514, allocations: 384 / 0.9233 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.9519, allocations: 379 kB / 0.9236 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.9541, allocations: 0.5129 MB / 0.9241 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009803/0.9639, allocations: 7.569 MB / 0.9315 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006026/0.9645, allocations: 1.089 MB / 0.9326 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009536/0.9655, allocations: 223.5 kB / 0.9328 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.966, allocations: 363.3 kB / 0.9331 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.966, allocations: 3.938 kB / 0.9332 GB, free: 3.016 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.637/3.603, allocations: 24.14 MB / 0.9567 GB, free: 11.28 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/3.603, allocations: 220.9 kB / 0.9569 GB, free: 11.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.143/5.747, allocations: 0 / 0.9569 GB, free: 11.02 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)