Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5891/0.5891, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 223.2 MB / 354.3 MB, free: 12.19 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 107.1 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 72.32 MB / 0.5689 GB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.593/6.786, allocations: 1.884 GB / 2.453 GB, free: 216.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003114/6.786, allocations: 93.38 kB / 2.453 GB, free: 216.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.926/10.71, allocations: 1.078 GB / 3.531 GB, free: 73.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.334e-06/10.71, allocations: 0 / 3.531 GB, free: 73.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001583/10.71, allocations: 43.89 kB / 3.531 GB, free: 73.33 MB / 0.6355 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.008064/10.72, allocations: 2.441 MB / 3.534 GB, free: 72.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/10.72, allocations: 10.22 kB / 3.534 GB, free: 72.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004483/10.72, allocations: 207.1 kB / 3.534 GB, free: 72.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003525/10.72, allocations: 0.511 MB / 3.535 GB, free: 72.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002665/10.73, allocations: 1.278 MB / 3.536 GB, free: 71.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.921e-05/10.73, allocations: 109 kB / 3.536 GB, free: 71.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/10.73, allocations: 139.3 kB / 3.536 GB, free: 71.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/10.73, allocations: 1.653 MB / 3.538 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/10.73, allocations: 7.375 kB / 3.538 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/10.73, allocations: 54.5 kB / 3.538 GB, free: 71.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/10.73, allocations: 55.72 kB / 3.538 GB, free: 71.35 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/10.73, allocations: 1.418 MB / 3.539 GB, free: 71.32 MB / 0.6355 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.007846/10.74, allocations: 7.184 MB / 3.546 GB, free: 67.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/10.74, allocations: 1.207 MB / 3.547 GB, free: 67.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/10.74, allocations: 0.8688 MB / 3.548 GB, free: 66.55 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008606/10.74, allocations: 0.6016 MB / 3.549 GB, free: 66.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=110): time 3.406e-06/10.74, allocations: 1.812 kB / 3.549 GB, free: 66.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=110): time 0.002784/10.75, allocations: 1.586 MB / 3.55 GB, free: 66.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/10.75, allocations: 89.58 kB / 3.55 GB, free: 66.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/10.75, allocations: 1.038 MB / 3.551 GB, free: 66.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/10.75, allocations: 50.14 kB / 3.552 GB, free: 66.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005283/10.75, allocations: 0.6767 MB / 3.552 GB, free: 65.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000298/10.75, allocations: 382.9 kB / 3.553 GB, free: 65.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/10.75, allocations: 18.31 kB / 3.553 GB, free: 65.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/10.75, allocations: 348.5 kB / 3.553 GB, free: 65.28 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/10.75, allocations: 418.8 kB / 3.553 GB, free: 65.28 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/10.75, allocations: 0.5907 MB / 3.554 GB, free: 65.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/10.75, allocations: 0.489 MB / 3.554 GB, free: 65.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/10.75, allocations: 3.281 kB / 3.554 GB, free: 65.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001909/10.75, allocations: 1.222 MB / 3.556 GB, free: 64.97 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002167/10.75, allocations: 0.9895 MB / 3.557 GB, free: 63.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/10.75, allocations: 3.062 kB / 3.557 GB, free: 63.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/10.75, allocations: 10.34 kB / 3.557 GB, free: 63.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/10.75, allocations: 223.4 kB / 3.557 GB, free: 63.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/10.75, allocations: 7.25 kB / 3.557 GB, free: 63.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/10.76, allocations: 188 kB / 3.557 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/10.76, allocations: 40.22 kB / 3.557 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/10.76, allocations: 3.812 kB / 3.557 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001479/10.76, allocations: 1.04 MB / 3.558 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/10.76, allocations: 3.594 kB / 3.558 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/10.76, allocations: 6.875 kB / 3.558 GB, free: 63.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/10.76, allocations: 218.1 kB / 3.558 GB, free: 63.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/10.76, allocations: 11.38 kB / 3.558 GB, free: 63.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/10.76, allocations: 180.8 kB / 3.558 GB, free: 63.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/10.76, allocations: 41.27 kB / 3.558 GB, free: 63.4 MB / 0.6355 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000992/10.76, allocations: 490.8 kB / 3.559 GB, free: 63.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002969/10.76, allocations: 148.3 kB / 3.559 GB, free: 62.99 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/10.76, allocations: 1.265 MB / 3.56 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/10.76, allocations: 11.19 kB / 3.56 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/10.76, allocations: 7.438 kB / 3.56 GB, free: 62.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00143/10.77, allocations: 1.018 MB / 3.561 GB, free: 62.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004962/10.77, allocations: 3.206 MB / 3.564 GB, free: 60.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/10.77, allocations: 3.188 kB / 3.564 GB, free: 60.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/10.77, allocations: 240.6 kB / 3.565 GB, free: 60.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/10.77, allocations: 6.938 kB / 3.565 GB, free: 60.42 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/10.77, allocations: 39.14 kB / 3.565 GB, free: 60.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.694e-06/10.77, allocations: 7.656 kB / 3.565 GB, free: 60.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/10.77, allocations: 2.281 kB / 3.565 GB, free: 60.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00273/10.77, allocations: 2.062 MB / 3.567 GB, free: 59.26 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/10.78, allocations: 369 kB / 3.567 GB, free: 59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/10.78, allocations: 28.53 kB / 3.567 GB, free: 58.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/10.78, allocations: 124.6 kB / 3.567 GB, free: 58.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/10.78, allocations: 67.91 kB / 3.567 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.63e-05/10.78, allocations: 40.47 kB / 3.567 GB, free: 58.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001215/10.78, allocations: 0.815 MB / 3.568 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/10.78, allocations: 0 / 3.568 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003597/10.78, allocations: 1.099 MB / 3.569 GB, free: 58.32 MB / 0.6355 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007596/10.79, allocations: 6.084 MB / 3.575 GB, free: 54.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002701/10.79, allocations: 1.614 MB / 3.577 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/10.79, allocations: 11 kB / 3.577 GB, free: 52.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008398/10.79, allocations: 0.5588 MB / 3.577 GB, free: 52.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/10.8, allocations: 0.8073 MB / 3.578 GB, free: 51.58 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/10.81, allocations: 11.16 MB / 3.589 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/10.81, allocations: 1.404 MB / 3.59 GB, free: 39.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001955/10.81, allocations: 462 kB / 3.591 GB, free: 38.66 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007772/10.81, allocations: 0.6243 MB / 3.591 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of SimCode: time 8.61e-07/10.81, allocations: 0 / 3.591 GB, free: 38.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.915/11.73, allocations: 78.34 MB / 3.668 GB, free: 86.33 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001498/11.73, allocations: 227.6 kB / 3.668 GB, free: 86.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.641/16.37, allocations: 1.031 kB / 3.668 GB, free: 86.09 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)