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.0009133/0.0009133, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4775/0.4775, allocations: 90.91 MB / 99.35 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000828/0.000828, allocations: 94.94 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.566e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 72.31 MB / 0.5536 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.778/3.896, allocations: 1.883 GB / 2.437 GB, free: 20.91 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/3.896, allocations: 89.75 kB / 2.437 GB, free: 20.87 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.671/7.567, allocations: 1.066 GB / 3.503 GB, free: 60.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.653e-06/7.568, allocations: 2.625 kB / 3.503 GB, free: 60.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001348/7.568, allocations: 46.39 kB / 3.503 GB, free: 60.62 MB / 0.6198 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.005984/7.574, allocations: 2.152 MB / 3.505 GB, free: 59.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/7.574, allocations: 9.938 kB / 3.505 GB, free: 59.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/7.577, allocations: 0.5174 MB / 3.506 GB, free: 59.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/7.579, allocations: 1.273 MB / 3.507 GB, free: 59.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/7.579, allocations: 44.34 kB / 3.507 GB, free: 59.24 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/7.58, allocations: 79.53 kB / 3.507 GB, free: 59.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001948/7.582, allocations: 1.202 MB / 3.508 GB, free: 59.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/7.584, allocations: 1.423 MB / 3.509 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/7.584, allocations: 5.281 kB / 3.509 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/7.584, allocations: 0 / 3.509 GB, free: 59.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/7.584, allocations: 59.95 kB / 3.51 GB, free: 59.02 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.007657/7.592, allocations: 7.041 MB / 3.516 GB, free: 55.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/7.593, allocations: 1.239 MB / 3.518 GB, free: 55.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/7.594, allocations: 0.5747 MB / 3.518 GB, free: 55.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007269/7.595, allocations: 0.8687 MB / 3.519 GB, free: 54.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007952/7.595, allocations: 0.586 MB / 3.52 GB, free: 54.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=110): time 3.096e-06/7.595, allocations: 3.219 kB / 3.52 GB, free: 54.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=110): time 0.00218/7.598, allocations: 1.141 MB / 3.521 GB, free: 54.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/7.598, allocations: 93.92 kB / 3.521 GB, free: 53.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/7.599, allocations: 0.8221 MB / 3.522 GB, free: 53.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-05/7.599, allocations: 32.8 kB / 3.522 GB, free: 53.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004573/7.599, allocations: 0.6821 MB / 3.522 GB, free: 53.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002817/7.599, allocations: 372.9 kB / 3.523 GB, free: 53.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/7.6, allocations: 0 / 3.523 GB, free: 53.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/7.6, allocations: 344.7 kB / 3.523 GB, free: 52.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000524/7.6, allocations: 413 kB / 3.523 GB, free: 52.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006111/7.601, allocations: 0.569 MB / 3.524 GB, free: 52.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008123/7.602, allocations: 0.5054 MB / 3.524 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/7.602, allocations: 0 / 3.524 GB, free: 52.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001858/7.603, allocations: 1.187 MB / 3.526 GB, free: 52.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000235/7.604, allocations: 0.9823 MB / 3.527 GB, free: 51.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/7.604, allocations: 7.5 kB / 3.527 GB, free: 51.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.04e-05/7.604, allocations: 7.031 kB / 3.527 GB, free: 51.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/7.605, allocations: 227.6 kB / 3.527 GB, free: 51.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/7.605, allocations: 6.812 kB / 3.527 GB, free: 51.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/7.606, allocations: 152.1 kB / 3.527 GB, free: 51.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/7.607, allocations: 42.38 kB / 3.527 GB, free: 51.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/7.607, allocations: 3.906 kB / 3.527 GB, free: 51.65 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/7.608, allocations: 1.016 MB / 3.528 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/7.608, allocations: 3.969 kB / 3.528 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/7.608, allocations: 5.969 kB / 3.528 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009317/7.609, allocations: 228 kB / 3.528 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/7.609, allocations: 7.094 kB / 3.528 GB, free: 51.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/7.611, allocations: 150.7 kB / 3.528 GB, free: 51.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-05/7.611, allocations: 40.38 kB / 3.528 GB, free: 51.58 MB / 0.6198 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 () * 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.0002515/7.611, allocations: 130.6 kB / 3.529 GB, free: 51.47 MB / 0.6198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00164/7.613, allocations: 1.111 MB / 3.53 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/7.613, allocations: 140.9 kB / 3.53 GB, free: 51.27 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/7.615, allocations: 1.213 MB / 3.531 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/7.615, allocations: 10.91 kB / 3.531 GB, free: 51.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/7.615, allocations: 5.922 kB / 3.531 GB, free: 51.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001413/7.616, allocations: 1.01 MB / 3.532 GB, free: 51.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004638/7.621, allocations: 3.117 MB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/7.621, allocations: 5.047 kB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/7.622, allocations: 238.1 kB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/7.622, allocations: 7.844 kB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/7.622, allocations: 18.33 kB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/7.622, allocations: 8.156 kB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/7.622, allocations: 5.438 kB / 3.535 GB, free: 50.44 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/7.625, allocations: 2.009 MB / 3.537 GB, free: 49.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/7.625, allocations: 355.6 kB / 3.538 GB, free: 49.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/7.625, allocations: 10.77 kB / 3.538 GB, free: 49.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/7.627, allocations: 101.3 kB / 3.538 GB, free: 49.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/7.627, allocations: 68.59 kB / 3.538 GB, free: 49.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/7.627, allocations: 39.86 kB / 3.538 GB, free: 49.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0008013/7.628, allocations: 0.6383 MB / 3.538 GB, free: 49.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.81e-07/7.628, allocations: 1.094 kB / 3.538 GB, free: 49.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002409/7.63, allocations: 1.003 MB / 3.539 GB, free: 49.49 MB / 0.6198 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) * 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.006985/7.637, allocations: 6.257 MB / 3.545 GB, free: 46.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002434/7.639, allocations: 1.624 MB / 3.547 GB, free: 46.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.547e-06/7.639, allocations: 6.859 kB / 3.547 GB, free: 46.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006811/7.64, allocations: 0.5467 MB / 3.548 GB, free: 46.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/7.644, allocations: 0.6826 MB / 3.548 GB, free: 46.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005406/7.649, allocations: 3.076 MB / 3.551 GB, free: 45.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/7.65, allocations: 1.405 MB / 3.553 GB, free: 45.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002348/7.652, allocations: 0.556 MB / 3.553 GB, free: 45.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/7.653, allocations: 0.6019 MB / 3.554 GB, free: 45.17 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/7.653, allocations: 0 / 3.554 GB, free: 45.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08841/7.742, allocations: 57.26 MB / 3.61 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/7.742, allocations: 174 kB / 3.61 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/11.79, allocations: 3.469 kB / 3.61 GB, free: 11.34 MB / 0.6198 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)