Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_11_Buildings_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.001427/0.001427, 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.001342/0.001342, allocations: 195.2 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.494/2.494, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 67.03 kB / 0.9086 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2381, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.6115/0.8496, allocations: 202 MB / 1.261 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007475/0.8571, allocations: 7.396 MB / 1.269 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.8577, allocations: 36.16 kB / 1.269 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001278/0.859, allocations: 0.6941 MB / 1.269 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.8629, allocations: 2.409 MB / 1.272 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.865, allocations: 1.222 MB / 1.273 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.8671, allocations: 2.911 MB / 1.276 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008942/0.868, allocations: 0.955 MB / 1.277 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.8691, allocations: 1.009 MB / 1.278 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.8706, allocations: 0.9725 MB / 1.278 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000165/0.8708, allocations: 112.2 kB / 1.279 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003161/0.8739, allocations: 2.126 MB / 1.281 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.8744, allocations: 446.8 kB / 1.281 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007316/0.8751, allocations: 0.6631 MB / 1.282 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.8779, allocations: 2.389 MB / 1.284 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8779, allocations: 0 / 1.284 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.031e-06/0.8779, allocations: 0.875 kB / 1.284 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.811e-05/0.878, allocations: 1.281 kB / 1.284 GB, free: 4.25 MB / 0.9981 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.002777/0.8807, allocations: 1.617 MB / 1.286 GB, free: 19.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.8808, allocations: 9.375 kB / 1.286 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.8809, allocations: 149 kB / 1.286 GB, free: 19.39 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.8831, allocations: 375.7 kB / 1.286 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.8841, allocations: 0.8138 MB / 1.287 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.8842, allocations: 64.38 kB / 1.287 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.8843, allocations: 88.88 kB / 1.287 GB, free: 19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.8856, allocations: 1.038 MB / 1.288 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.8857, allocations: 7.016 kB / 1.288 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.93e-05/0.8858, allocations: 39.52 kB / 1.288 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.732e-05/0.8858, allocations: 44.34 kB / 1.288 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.8871, allocations: 0.8852 MB / 1.289 GB, free: 18.85 MB / 1.014 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.004004/0.8911, allocations: 4.321 MB / 1.293 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/0.892, allocations: 0.7006 MB / 1.294 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006308/0.8927, allocations: 455.7 kB / 1.294 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.8933, allocations: 0.6744 MB / 1.295 GB, free: 15.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.8934, allocations: 43.25 kB / 1.295 GB, free: 15.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 1.863e-06/0.8934, allocations: 2 kB / 1.295 GB, free: 15.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001545/0.8949, allocations: 0.9938 MB / 1.296 GB, free: 15.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.895, allocations: 59.66 kB / 1.296 GB, free: 15.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.8956, allocations: 0.6383 MB / 1.297 GB, free: 15.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.656e-05/0.8956, allocations: 40.45 kB / 1.297 GB, free: 15.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.8959, allocations: 433.6 kB / 1.297 GB, free: 15.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.896, allocations: 249.5 kB / 1.297 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.8962, allocations: 121.8 kB / 1.298 GB, free: 14.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8963, allocations: 388.3 kB / 1.298 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003828/0.8967, allocations: 275.8 kB / 1.298 GB, free: 14.55 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.8971, allocations: 358.6 kB / 1.299 GB, free: 14.49 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008149/0.898, allocations: 0.6591 MB / 1.299 GB, free: 14.43 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.898, allocations: 1 kB / 1.299 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001059/0.899, allocations: 0.7933 MB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.8991, allocations: 6.531 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8991, allocations: 2.156 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8991, allocations: 5.469 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005501/0.8996, allocations: 142.8 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8997, allocations: 4.562 kB / 1.3 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.9003, allocations: 58.36 kB / 1.3 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.9004, allocations: 26.09 kB / 1.3 GB, free: 14.31 MB / 1.014 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.000306/0.9007, allocations: 288.3 kB / 1.3 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.9008, allocations: 85.7 kB / 1.301 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.902, allocations: 0.8011 MB / 1.301 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.902, allocations: 7.688 kB / 1.301 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.902, allocations: 6.031 kB / 1.301 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009437/0.9029, allocations: 0.8143 MB / 1.302 GB, free: 13.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.905, allocations: 1.85 MB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.905, allocations: 1.531 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.9057, allocations: 168 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.9058, allocations: 2.094 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.9058, allocations: 17.25 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.9058, allocations: 4.25 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.9058, allocations: 0.9375 kB / 1.304 GB, free: 13.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.9073, allocations: 1.205 MB / 1.305 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.9076, allocations: 241.7 kB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.9077, allocations: 15.44 kB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005614/0.9082, allocations: 21.45 kB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.9083, allocations: 45.62 kB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.9084, allocations: 23.28 kB / 1.306 GB, free: 13.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004205/0.9088, allocations: 456.9 kB / 1.306 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9088, allocations: 0 / 1.306 GB, free: 13.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006531/0.9095, allocations: 337.9 kB / 1.306 GB, free: 13.01 MB / 1.014 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.001857/0.9113, allocations: 1.836 MB / 1.308 GB, free: 12.28 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.9126, allocations: 0.8203 MB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9126, allocations: 1 kB / 1.309 GB, free: 12.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.9131, allocations: 368.2 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.9151, allocations: 0.545 MB / 1.31 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007295/0.9224, allocations: 7.186 MB / 1.317 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005589/0.923, allocations: 1.086 MB / 1.318 GB, free: 8.895 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000706/0.9237, allocations: 229.4 kB / 1.318 GB, free: 8.836 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.9241, allocations: 360.1 kB / 1.319 GB, free: 8.828 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.9241, allocations: 0 / 1.319 GB, free: 8.828 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.673/4.597, allocations: 25.11 MB / 1.343 GB, free: 2.582 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/19.55, allocations: 9.391 kB / 1.343 GB, free: 2.578 MB / 1.014 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)