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.001222/0.001223, allocations: 109.4 kB / 15.69 MB, free: 128 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.001363/0.001363, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.317/1.317, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 275.2 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9245/0.9245, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 92.28 kB / 0.5955 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1432, allocations: 86.97 MB / 0.6804 GB, free: 500 kB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.4802/0.6234, allocations: 202 MB / 0.8777 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.6336, allocations: 7.376 MB / 0.8849 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.6351, allocations: 36.62 kB / 0.8849 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001765/0.6369, allocations: 0.7046 MB / 0.8856 GB, free: 48 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005659/0.6426, allocations: 2.399 MB / 0.8879 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.6457, allocations: 1.251 MB / 0.8892 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.6492, allocations: 2.909 MB / 0.892 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.6504, allocations: 0.9474 MB / 0.8929 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.652, allocations: 1.013 MB / 0.8939 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.6538, allocations: 0.9627 MB / 0.8948 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.6539, allocations: 110.8 kB / 0.895 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.6577, allocations: 2.132 MB / 0.897 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.6582, allocations: 460.8 kB / 0.8975 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006928/0.6589, allocations: 0.6589 MB / 0.8981 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.6622, allocations: 2.404 MB / 0.9005 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6622, allocations: 0 / 0.9005 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.396e-06/0.6622, allocations: 0 / 0.9005 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.414e-05/0.6622, allocations: 3.938 kB / 0.9005 GB, free: 5.895 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.002972/0.6652, allocations: 1.625 MB / 0.9021 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6653, allocations: 8.031 kB / 0.9021 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.6654, allocations: 145.4 kB / 0.9022 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.6678, allocations: 370.2 kB / 0.9026 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.669, allocations: 0.8512 MB / 0.9034 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.533e-05/0.6691, allocations: 73.92 kB / 0.9035 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.6692, allocations: 80 kB / 0.9035 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.6708, allocations: 1.042 MB / 0.9046 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.6708, allocations: 4 kB / 0.9046 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/0.6709, allocations: 32 kB / 0.9046 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.977e-05/0.671, allocations: 45.98 kB / 0.9046 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.6724, allocations: 0.8861 MB / 0.9055 GB, free: 0.6055 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.004301/0.6767, allocations: 4.292 MB / 0.9097 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.6778, allocations: 0.7045 MB / 0.9104 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007059/0.6785, allocations: 459.6 kB / 0.9108 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.6791, allocations: 0.6771 MB / 0.9115 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.6791, allocations: 43.06 kB / 0.9115 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/0.6791, allocations: 0 / 0.9115 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001782/0.6809, allocations: 0.9938 MB / 0.9125 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.681, allocations: 59.97 kB / 0.9125 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006729/0.6817, allocations: 0.6373 MB / 0.9132 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.843e-05/0.6817, allocations: 37.7 kB / 0.9132 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.682, allocations: 428.1 kB / 0.9136 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.6822, allocations: 252.3 kB / 0.9138 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.6824, allocations: 118.2 kB / 0.914 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.6825, allocations: 394.7 kB / 0.9143 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.683, allocations: 273.2 kB / 0.9146 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.6834, allocations: 361 kB / 0.9149 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.6844, allocations: 0.6626 MB / 0.9156 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6844, allocations: 0 / 0.9156 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001252/0.6857, allocations: 0.7912 MB / 0.9164 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6857, allocations: 10.17 kB / 0.9164 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6857, allocations: 4 kB / 0.9164 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.6857, allocations: 8.188 kB / 0.9164 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.6864, allocations: 143.8 kB / 0.9165 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6864, allocations: 4 kB / 0.9165 GB, free: 4.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.6871, allocations: 51.42 kB / 0.9166 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.6872, allocations: 27.94 kB / 0.9166 GB, free: 4.605 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.0003802/0.6875, allocations: 290.2 kB / 0.9169 GB, free: 4.312 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6877, allocations: 87.05 kB / 0.917 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.689, allocations: 0.7932 MB / 0.9177 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.6891, allocations: 4 kB / 0.9177 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.6891, allocations: 4 kB / 0.9177 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.6901, allocations: 0.823 MB / 0.9185 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.6925, allocations: 1.845 MB / 0.9203 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.6925, allocations: 0 / 0.9203 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/0.6934, allocations: 171.7 kB / 0.9205 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6934, allocations: 0 / 0.9205 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.6934, allocations: 22.31 kB / 0.9205 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6935, allocations: 3.984 kB / 0.9205 GB, free: 460 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.6935, allocations: 4 kB / 0.9205 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.6952, allocations: 1.199 MB / 0.9217 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.6955, allocations: 244 kB / 0.9219 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6956, allocations: 12 kB / 0.922 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.6963, allocations: 23.98 kB / 0.922 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6964, allocations: 40.5 kB / 0.922 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.906e-05/0.6964, allocations: 23.98 kB / 0.922 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005221/0.697, allocations: 459 kB / 0.9225 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.697, allocations: 0 / 0.9225 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008179/0.6978, allocations: 343.2 kB / 0.9228 GB, free: 14.1 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.002139/0.6999, allocations: 1.836 MB / 0.9246 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.7011, allocations: 0.6796 MB / 0.9253 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7011, allocations: 0 / 0.9253 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.7016, allocations: 371 kB / 0.9256 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.7039, allocations: 0.5586 MB / 0.9262 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009837/0.7138, allocations: 6.947 MB / 0.9329 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.7145, allocations: 1.085 MB / 0.934 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008327/0.7153, allocations: 231.2 kB / 0.9342 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.7158, allocations: 359.3 kB / 0.9346 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/0.7158, allocations: 0 / 0.9346 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05335/0.7692, allocations: 25.12 MB / 0.9591 GB, free: 9.148 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.956/9.725, allocations: 8.594 kB / 0.9591 GB, free: 9.141 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)