Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ChimneyShaftWithVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.006278/0.006278, allocations: 102.3 kB / 15.73 MB, free: 5.988 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.001337/0.001337, allocations: 196.9 kB / 16.67 MB, free: 5.91 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 67.91 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8064/0.8076, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.2444/1.052, allocations: 235.9 MB / 1.318 GB, free: 1.617 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01722/1.069, allocations: 10.41 MB / 1.328 GB, free: 7.191 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/1.072, allocations: 63.62 kB / 1.328 GB, free: 7.129 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003501/1.076, allocations: 1.189 MB / 1.329 GB, free: 5.934 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009211/1.085, allocations: 3.66 MB / 1.333 GB, free: 2.258 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005397/1.09, allocations: 2.081 MB / 1.335 GB, free: 188 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005397/1.096, allocations: 4.451 MB / 1.339 GB, free: 11.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/1.098, allocations: 1.571 MB / 1.341 GB, free: 10.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002676/1.101, allocations: 1.596 MB / 1.342 GB, free: 8.516 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/1.104, allocations: 1.495 MB / 1.344 GB, free: 7.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005177/1.104, allocations: 184 kB / 1.344 GB, free: 6.84 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00605/1.11, allocations: 3.238 MB / 1.347 GB, free: 3.594 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0009642/1.111, allocations: 0.7011 MB / 1.348 GB, free: 2.891 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001405/1.113, allocations: 1.065 MB / 1.349 GB, free: 1.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005815/1.119, allocations: 3.814 MB / 1.352 GB, free: 14 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.119, allocations: 4 kB / 1.352 GB, free: 13.99 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.724e-06/1.119, allocations: 0 / 1.352 GB, free: 13.99 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001109/1.119, allocations: 0 / 1.352 GB, free: 13.99 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006815/1.126, allocations: 2.486 MB / 1.355 GB, free: 11.45 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.126, allocations: 8.031 kB / 1.355 GB, free: 11.44 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/1.126, allocations: 198.6 kB / 1.355 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/1.129, allocations: 0.5206 MB / 1.356 GB, free: 10.71 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/1.131, allocations: 1.291 MB / 1.357 GB, free: 9.367 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.186e-05/1.131, allocations: 102.6 kB / 1.357 GB, free: 9.266 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/1.131, allocations: 136 kB / 1.357 GB, free: 9.133 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/1.134, allocations: 1.681 MB / 1.359 GB, free: 7.383 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/1.134, allocations: 7.844 kB / 1.359 GB, free: 7.375 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/1.134, allocations: 52 kB / 1.359 GB, free: 7.324 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/1.134, allocations: 66.58 kB / 1.359 GB, free: 7.258 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/1.136, allocations: 1.454 MB / 1.36 GB, free: 5.797 MB / 1.092 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.008922/1.145, allocations: 6.977 MB / 1.367 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/1.147, allocations: 1.195 MB / 1.368 GB, free: 13.12 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/1.148, allocations: 0.6089 MB / 1.369 GB, free: 12.5 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/1.149, allocations: 0.8594 MB / 1.37 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009412/1.15, allocations: 0.6141 MB / 1.37 GB, free: 10.83 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 2.915e-06/1.15, allocations: 0 / 1.37 GB, free: 10.83 MB / 1.107 GB Notification: Performance of matching and sorting (n=110): time 0.002761/1.153, allocations: 1.572 MB / 1.372 GB, free: 9.258 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.153, allocations: 98.11 kB / 1.372 GB, free: 9.141 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.154, allocations: 1.191 MB / 1.373 GB, free: 7.93 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.067e-05/1.154, allocations: 45.7 kB / 1.373 GB, free: 7.879 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/1.155, allocations: 0.6737 MB / 1.374 GB, free: 7.199 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/1.155, allocations: 386.3 kB / 1.374 GB, free: 6.816 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/1.155, allocations: 174.7 kB / 1.374 GB, free: 6.641 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.155, allocations: 345.9 kB / 1.375 GB, free: 6.297 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006734/1.156, allocations: 432.6 kB / 1.375 GB, free: 5.871 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/1.157, allocations: 0.5518 MB / 1.376 GB, free: 5.281 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/1.158, allocations: 1.013 MB / 1.377 GB, free: 4.234 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.158, allocations: 0 / 1.377 GB, free: 4.234 MB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001866/1.16, allocations: 1.226 MB / 1.378 GB, free: 3.004 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/1.16, allocations: 7.938 kB / 1.378 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.16, allocations: 4 kB / 1.378 GB, free: 2.992 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.16, allocations: 4 kB / 1.378 GB, free: 2.988 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/1.161, allocations: 215.7 kB / 1.378 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.161, allocations: 7.938 kB / 1.378 GB, free: 2.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009732/1.162, allocations: 102.9 kB / 1.378 GB, free: 2.668 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.629e-05/1.162, allocations: 40.16 kB / 1.378 GB, free: 2.629 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001013/1.163, allocations: 0.7361 MB / 1.379 GB, free: 1.887 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007197/1.164, allocations: 0.5439 MB / 1.379 GB, free: 1.309 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/1.165, allocations: 0.9932 MB / 1.38 GB, free: 292 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/1.165, allocations: 3.938 kB / 1.38 GB, free: 288 kB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.001715/1.167, allocations: 1.191 MB / 1.382 GB, free: 15.08 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.167, allocations: 8.312 kB / 1.382 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/1.167, allocations: 4 kB / 1.382 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/1.167, allocations: 15.92 kB / 1.382 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/1.168, allocations: 215.7 kB / 1.382 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.168, allocations: 7.984 kB / 1.382 GB, free: 14.83 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009108/1.169, allocations: 87.14 kB / 1.382 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-05/1.169, allocations: 36 kB / 1.382 GB, free: 14.71 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 126 * 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.0002208/1.169, allocations: 236.1 kB / 1.382 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.169, allocations: 158.2 kB / 1.382 GB, free: 14.32 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/1.171, allocations: 1.239 MB / 1.384 GB, free: 13.07 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/1.171, allocations: 12 kB / 1.384 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.171, allocations: 0 / 1.384 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001503/1.173, allocations: 1.003 MB / 1.384 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004265/1.177, allocations: 3.167 MB / 1.388 GB, free: 8.75 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/1.177, allocations: 4 kB / 1.388 GB, free: 8.746 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.178, allocations: 231.7 kB / 1.388 GB, free: 8.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.178, allocations: 4 kB / 1.388 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-05/1.178, allocations: 31.98 kB / 1.388 GB, free: 8.484 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/1.178, allocations: 7.938 kB / 1.388 GB, free: 8.477 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.178, allocations: 4 kB / 1.388 GB, free: 8.473 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/1.181, allocations: 1.909 MB / 1.39 GB, free: 6.516 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005299/1.181, allocations: 358.9 kB / 1.39 GB, free: 6.145 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.182, allocations: 27.94 kB / 1.39 GB, free: 6.117 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008441/1.182, allocations: 44.47 kB / 1.39 GB, free: 6.074 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.183, allocations: 72.94 kB / 1.39 GB, free: 6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/1.183, allocations: 39.98 kB / 1.39 GB, free: 5.961 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009123/1.184, allocations: 0.8258 MB / 1.391 GB, free: 5.133 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.184, allocations: 4 kB / 1.391 GB, free: 5.129 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001554/1.185, allocations: 0.8338 MB / 1.392 GB, free: 4.293 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003948/1.189, allocations: 2.939 MB / 1.395 GB, free: 1.469 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002702/1.192, allocations: 1.627 MB / 1.396 GB, free: 15.84 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.192, allocations: 4 kB / 1.396 GB, free: 15.84 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/1.193, allocations: 0.5613 MB / 1.397 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.196, allocations: 0.878 MB / 1.398 GB, free: 14.42 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.21, allocations: 11.12 MB / 1.409 GB, free: 3.055 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008768/1.211, allocations: 1.364 MB / 1.41 GB, free: 1.66 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001423/1.212, allocations: 455.6 kB / 1.41 GB, free: 1.211 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007658/1.213, allocations: 0.6282 MB / 1.411 GB, free: 0.582 MB / 1.139 GB Notification: Performance of SimCode: time 6.11e-07/1.213, allocations: 0 / 1.411 GB, free: 0.582 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06925/1.282, allocations: 42.69 MB / 1.453 GB, free: 6.406 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.663/10.94, allocations: 7.031 kB / 1.453 GB, free: 6.402 MB / 1.186 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)