Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_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.004952/0.004952, allocations: 98.39 kB / 15.73 MB, free: 6.43 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.001373/0.001374, allocations: 191.8 kB / 16.67 MB, free: 6.336 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.621/2.621, allocations: 482.6 MB / 0.755 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.89 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.265, allocations: 162.3 MB / 1.242 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.7005/0.9655, allocations: 202 MB / 1.439 GB, free: 12.1 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01029/0.9758, allocations: 7.399 MB / 1.446 GB, free: 5.75 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008107/0.9767, allocations: 39.81 kB / 1.446 GB, free: 5.711 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.9782, allocations: 0.6952 MB / 1.447 GB, free: 5.012 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.004794/0.983, allocations: 2.403 MB / 1.449 GB, free: 2.598 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.9856, allocations: 1.238 MB / 1.451 GB, free: 1.363 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003075/0.9887, allocations: 2.906 MB / 1.453 GB, free: 14.45 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.9899, allocations: 0.9502 MB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.9914, allocations: 1.137 MB / 1.456 GB, free: 12.34 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.993, allocations: 0.948 MB / 1.456 GB, free: 11.4 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000168/0.9932, allocations: 112 kB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/0.9968, allocations: 2.12 MB / 1.459 GB, free: 9.164 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.9972, allocations: 450.7 kB / 1.459 GB, free: 8.723 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006751/0.9979, allocations: 0.6689 MB / 1.46 GB, free: 8.051 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/1.001, allocations: 2.411 MB / 1.462 GB, free: 5.633 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.001, allocations: 0 / 1.462 GB, free: 5.633 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.413e-06/1.001, allocations: 0 / 1.462 GB, free: 5.633 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.295e-05/1.001, allocations: 0 / 1.462 GB, free: 5.633 MB / 1.154 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.002887/1.004, allocations: 1.665 MB / 1.464 GB, free: 3.914 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/1.004, allocations: 8.031 kB / 1.464 GB, free: 3.906 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/1.004, allocations: 139.3 kB / 1.464 GB, free: 3.762 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/1.006, allocations: 378.9 kB / 1.464 GB, free: 3.391 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/1.008, allocations: 0.8636 MB / 1.465 GB, free: 2.484 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/1.008, allocations: 66 kB / 1.465 GB, free: 2.418 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.008, allocations: 79.98 kB / 1.465 GB, free: 2.34 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/1.009, allocations: 1.042 MB / 1.466 GB, free: 1.266 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/1.01, allocations: 4.688 kB / 1.466 GB, free: 1.262 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/1.01, allocations: 39.92 kB / 1.466 GB, free: 1.223 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.917e-05/1.01, allocations: 45.98 kB / 1.466 GB, free: 1.176 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/1.011, allocations: 0.886 MB / 1.467 GB, free: 296 kB / 1.154 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.004538/1.016, allocations: 4.384 MB / 1.471 GB, free: 11.53 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/1.017, allocations: 0.6968 MB / 1.472 GB, free: 10.83 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007834/1.018, allocations: 462.9 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006245/1.018, allocations: 0.6771 MB / 1.473 GB, free: 9.551 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.018, allocations: 39.12 kB / 1.473 GB, free: 9.504 MB / 1.17 GB Notification: Performance of pre-optimization done (n=70): time 1.824e-06/1.018, allocations: 0 / 1.473 GB, free: 9.504 MB / 1.17 GB Notification: Performance of matching and sorting (n=70): time 0.001768/1.02, allocations: 0.9982 MB / 1.474 GB, free: 8.5 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/1.02, allocations: 63.97 kB / 1.474 GB, free: 8.426 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/1.021, allocations: 0.6334 MB / 1.475 GB, free: 7.789 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/1.021, allocations: 37.7 kB / 1.475 GB, free: 7.746 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/1.021, allocations: 444.8 kB / 1.475 GB, free: 7.305 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.021, allocations: 253.8 kB / 1.476 GB, free: 7.055 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/1.022, allocations: 118.3 kB / 1.476 GB, free: 6.93 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.022, allocations: 402.6 kB / 1.476 GB, free: 6.527 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004504/1.022, allocations: 273.2 kB / 1.476 GB, free: 6.262 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/1.023, allocations: 353.1 kB / 1.477 GB, free: 5.895 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/1.024, allocations: 0.6665 MB / 1.477 GB, free: 5.207 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.024, allocations: 0 / 1.477 GB, free: 5.207 MB / 1.17 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001222/1.025, allocations: 0.7935 MB / 1.478 GB, free: 4.406 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.025, allocations: 6.531 kB / 1.478 GB, free: 4.402 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/1.025, allocations: 4 kB / 1.478 GB, free: 4.398 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/1.025, allocations: 8 kB / 1.478 GB, free: 4.391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/1.026, allocations: 143.8 kB / 1.478 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/1.026, allocations: 7.938 kB / 1.478 GB, free: 4.242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/1.026, allocations: 55.55 kB / 1.478 GB, free: 4.188 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/1.026, allocations: 27.94 kB / 1.478 GB, free: 4.16 MB / 1.17 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.0003413/1.027, allocations: 285.6 kB / 1.479 GB, free: 3.871 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/1.027, allocations: 91.48 kB / 1.479 GB, free: 3.781 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/1.028, allocations: 0.7881 MB / 1.479 GB, free: 2.984 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.028, allocations: 8 kB / 1.479 GB, free: 2.977 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.028, allocations: 0 / 1.479 GB, free: 2.977 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/1.029, allocations: 0.8269 MB / 1.48 GB, free: 2.098 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002411/1.032, allocations: 1.845 MB / 1.482 GB, free: 200 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.032, allocations: 8.609 kB / 1.482 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/1.032, allocations: 163.8 kB / 1.482 GB, free: 28 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.032, allocations: 3.938 kB / 1.482 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/1.033, allocations: 28.02 kB / 1.482 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/1.033, allocations: 3.391 kB / 1.482 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/1.033, allocations: 4 kB / 1.482 GB, free: 15.99 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/1.034, allocations: 1.203 MB / 1.483 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/1.035, allocations: 256.3 kB / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.035, allocations: 12 kB / 1.484 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/1.036, allocations: 23.98 kB / 1.484 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/1.036, allocations: 40.5 kB / 1.484 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/1.036, allocations: 28 kB / 1.484 GB, free: 14.4 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005126/1.036, allocations: 459 kB / 1.484 GB, free: 13.95 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.036, allocations: 0 / 1.484 GB, free: 13.95 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006924/1.037, allocations: 335.3 kB / 1.485 GB, free: 13.62 MB / 1.186 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.002192/1.039, allocations: 1.843 MB / 1.486 GB, free: 11.76 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001109/1.04, allocations: 0.6757 MB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/1.04, allocations: 3.984 kB / 1.487 GB, free: 11.08 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/1.041, allocations: 371.3 kB / 1.487 GB, free: 10.72 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/1.043, allocations: 0.5422 MB / 1.488 GB, free: 10.19 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/1.052, allocations: 6.992 MB / 1.495 GB, free: 3.035 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007118/1.053, allocations: 1.085 MB / 1.496 GB, free: 1.926 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007297/1.054, allocations: 223.2 kB / 1.496 GB, free: 1.703 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/1.054, allocations: 359.3 kB / 1.496 GB, free: 1.352 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/1.054, allocations: 0 / 1.496 GB, free: 1.352 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/2.512, allocations: 25.27 MB / 1.521 GB, free: 8.414 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/12.7, allocations: 15.45 kB / 1.521 GB, free: 8.402 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)