Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",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.009053/0.009053, allocations: 171.9 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8691/0.8691, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.842/1.842, allocations: 223.2 MB / 406.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 109.3 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004764, allocations: 8 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.61, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.621/2.231, allocations: 423.4 MB / 1.063 GB, free: 275 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003827/2.232, allocations: 97.25 kB / 1.063 GB, free: 275 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.327/3.559, allocations: 337.3 MB / 1.392 GB, free: 157.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.958e-06/3.559, allocations: 0 / 1.392 GB, free: 157.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002121/3.559, allocations: 34.98 kB / 1.393 GB, free: 157.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005468/3.565, allocations: 1.522 MB / 1.394 GB, free: 156.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/3.565, allocations: 7.844 kB / 1.394 GB, free: 156.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005543/3.565, allocations: 124.8 kB / 1.394 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/3.566, allocations: 143.1 kB / 1.394 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003093/3.569, allocations: 0.9809 MB / 1.395 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.962e-05/3.569, allocations: 58.62 kB / 1.395 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/3.57, allocations: 83.91 kB / 1.395 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/3.572, allocations: 0.8584 MB / 1.396 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/3.572, allocations: 3.75 kB / 1.396 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/3.572, allocations: 32.62 kB / 1.396 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/3.572, allocations: 19.12 kB / 1.396 GB, free: 156.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/3.573, allocations: 0.6167 MB / 1.397 GB, free: 156.3 MB / 0.698 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.006858/3.58, allocations: 3.798 MB / 1.401 GB, free: 154.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/3.581, allocations: 0.5676 MB / 1.401 GB, free: 154.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/3.582, allocations: 1.245 MB / 1.402 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006367/3.583, allocations: 326.9 kB / 1.403 GB, free: 153 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.678e-06/3.583, allocations: 3.844 kB / 1.403 GB, free: 153 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002734/3.586, allocations: 1.134 MB / 1.404 GB, free: 152.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/3.586, allocations: 84.64 kB / 1.404 GB, free: 152.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/3.587, allocations: 0.776 MB / 1.405 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.295e-05/3.588, allocations: 44.27 kB / 1.405 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/3.588, allocations: 466.5 kB / 1.405 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/3.588, allocations: 212.4 kB / 1.405 GB, free: 152.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/3.588, allocations: 13.62 kB / 1.405 GB, free: 152.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000103/3.588, allocations: 331.2 kB / 1.406 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/3.589, allocations: 210.7 kB / 1.406 GB, free: 151.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/3.589, allocations: 346.4 kB / 1.406 GB, free: 151.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/3.59, allocations: 245.3 kB / 1.406 GB, free: 151.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/3.59, allocations: 0 / 1.406 GB, free: 151.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001555/3.591, allocations: 0.7198 MB / 1.407 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000295/3.592, allocations: 0.8812 MB / 1.408 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/3.592, allocations: 0 / 1.408 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/3.592, allocations: 106.3 kB / 1.408 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006388/3.593, allocations: 126.5 kB / 1.408 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000669/3.594, allocations: 0.6554 MB / 1.409 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/3.595, allocations: 109.9 kB / 1.409 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/3.595, allocations: 33.84 kB / 1.409 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/3.595, allocations: 3.781 kB / 1.409 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/3.596, allocations: 0.5733 MB / 1.41 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/3.596, allocations: 3.828 kB / 1.41 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/3.597, allocations: 107.5 kB / 1.41 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/3.597, allocations: 113 kB / 1.41 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005189/3.598, allocations: 0.6657 MB / 1.41 GB, free: 149.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/3.599, allocations: 90.67 kB / 1.41 GB, free: 149.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/3.599, allocations: 25.84 kB / 1.41 GB, free: 149.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007111/3.599, allocations: 345.5 kB / 1.411 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/3.6, allocations: 99.22 kB / 1.411 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/3.602, allocations: 0.9498 MB / 1.412 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/3.602, allocations: 10.7 kB / 1.412 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/3.602, allocations: 0 / 1.412 GB, free: 149.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/3.603, allocations: 0.8626 MB / 1.413 GB, free: 148.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/3.607, allocations: 1.892 MB / 1.415 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/3.607, allocations: 3.156 kB / 1.415 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/3.608, allocations: 109.1 kB / 1.415 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006678/3.608, allocations: 159.9 kB / 1.415 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/3.608, allocations: 23.81 kB / 1.415 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008391/3.609, allocations: 1.246 MB / 1.416 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/3.609, allocations: 5.312 kB / 1.416 GB, free: 147.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/3.611, allocations: 1.312 MB / 1.417 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/3.612, allocations: 284.4 kB / 1.418 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/3.612, allocations: 12.97 kB / 1.418 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009357/3.613, allocations: 61.7 kB / 1.418 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/3.614, allocations: 45.83 kB / 1.418 GB, free: 147 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/3.614, allocations: 34.09 kB / 1.418 GB, free: 147 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001165/3.615, allocations: 0.6118 MB / 1.418 GB, free: 146.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.4e-07/3.615, allocations: 3.875 kB / 1.418 GB, free: 146.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002756/3.618, allocations: 0.612 MB / 1.419 GB, free: 146.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (63): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005205/3.623, allocations: 2.83 MB / 1.422 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002351/3.625, allocations: 0.9326 MB / 1.423 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/3.625, allocations: 2.688 kB / 1.423 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/3.626, allocations: 385 kB / 1.423 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/3.629, allocations: 410.9 kB / 1.423 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/3.643, allocations: 7.451 MB / 1.431 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/3.645, allocations: 1.09 MB / 1.432 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00158/3.646, allocations: 216.3 kB / 1.432 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/3.647, allocations: 416.5 kB / 1.432 GB, free: 141.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.46e-05/3.647, allocations: 0 / 1.432 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07261/3.72, allocations: 32.67 MB / 1.464 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002894/3.72, allocations: 248.7 kB / 1.464 GB, free: 139.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.453/7.173, allocations: 0 / 1.464 GB, free: 139.9 MB / 0.698 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)