Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",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.007796/0.007796, allocations: 171.2 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7652/0.7652, allocations: 135.2 MB / 151 MB, free: 13.83 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.458/1.458, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009015/0.0009015, allocations: 91.47 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.000358, allocations: 15.98 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4259, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.019/5.445, allocations: 1.897 GB / 2.547 GB, free: 40.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/5.445, allocations: 91.33 kB / 2.547 GB, free: 40.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.819/13.26, allocations: 1.753 GB / 4.3 GB, free: 60.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.176e-06/13.26, allocations: 2.125 kB / 4.3 GB, free: 60.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002553/13.26, allocations: 77.66 kB / 4.3 GB, free: 60.57 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01949/13.28, allocations: 3.967 MB / 4.304 GB, free: 59.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/13.28, allocations: 10.44 kB / 4.304 GB, free: 59.06 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002487/13.29, allocations: 369 kB / 4.305 GB, free: 59.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008953/13.3, allocations: 0.9052 MB / 4.305 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007129/13.3, allocations: 1.92 MB / 4.307 GB, free: 58.37 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/13.3, allocations: 196.6 kB / 4.307 GB, free: 58.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/13.3, allocations: 270.6 kB / 4.308 GB, free: 58.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007686/13.31, allocations: 3.269 MB / 4.311 GB, free: 58.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.442e-05/13.31, allocations: 15.73 kB / 4.311 GB, free: 58.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003915/13.31, allocations: 106.4 kB / 4.311 GB, free: 58.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001602/13.31, allocations: 121 kB / 4.311 GB, free: 58.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006875/13.32, allocations: 3.393 MB / 4.314 GB, free: 57.99 MB / 0.7448 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.0208/13.34, allocations: 12.33 MB / 4.326 GB, free: 51.81 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/13.35, allocations: 3.321 MB / 4.33 GB, free: 51.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/13.35, allocations: 1.491 MB / 4.331 GB, free: 49.67 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/13.35, allocations: 64.97 kB / 4.331 GB, free: 49.62 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 4.99e-06/13.35, allocations: 0 / 4.331 GB, free: 49.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.00713/13.35, allocations: 3.845 MB / 4.335 GB, free: 49.37 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/13.35, allocations: 87.69 kB / 4.335 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/13.36, allocations: 1.187 MB / 4.336 GB, free: 49.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/13.36, allocations: 79.73 kB / 4.336 GB, free: 49.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007627/13.36, allocations: 0.9874 MB / 4.337 GB, free: 48.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/13.36, allocations: 0.943 MB / 4.338 GB, free: 48.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/13.36, allocations: 48.19 kB / 4.338 GB, free: 48.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001658/13.36, allocations: 407 kB / 4.339 GB, free: 47.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/13.36, allocations: 1.074 MB / 4.34 GB, free: 47.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/13.36, allocations: 1.411 MB / 4.341 GB, free: 47.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/13.36, allocations: 1.279 MB / 4.342 GB, free: 47.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/13.36, allocations: 3.344 kB / 4.342 GB, free: 47.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005063/13.37, allocations: 2.948 MB / 4.345 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/13.37, allocations: 6.688 kB / 4.345 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/13.37, allocations: 6.812 kB / 4.345 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/13.37, allocations: 14.66 kB / 4.345 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/13.37, allocations: 0.5135 MB / 4.346 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/13.37, allocations: 17.12 kB / 4.346 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/13.38, allocations: 336.5 kB / 4.346 GB, free: 47.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/13.38, allocations: 85.34 kB / 4.346 GB, free: 47.14 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.001791/13.38, allocations: 0.6548 MB / 4.347 GB, free: 47.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008699/13.38, allocations: 227.6 kB / 4.347 GB, free: 46.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/13.38, allocations: 3.088 MB / 4.35 GB, free: 46.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/13.38, allocations: 29.83 kB / 4.35 GB, free: 46.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/13.38, allocations: 0 / 4.35 GB, free: 46.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00375/13.39, allocations: 2.632 MB / 4.353 GB, free: 46.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/13.4, allocations: 6.162 MB / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/13.4, allocations: 0 / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/13.4, allocations: 0.5464 MB / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/13.4, allocations: 10.44 kB / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/13.4, allocations: 67.28 kB / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.326e-05/13.4, allocations: 10.09 kB / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/13.4, allocations: 5.922 kB / 4.359 GB, free: 45.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007021/13.41, allocations: 4.75 MB / 4.364 GB, free: 45.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/13.41, allocations: 0.6177 MB / 4.365 GB, free: 45.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005789/13.41, allocations: 49.78 kB / 4.365 GB, free: 45.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002703/13.41, allocations: 228 kB / 4.365 GB, free: 45.31 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/13.41, allocations: 150.8 kB / 4.365 GB, free: 45.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/13.41, allocations: 85.36 kB / 4.365 GB, free: 45.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001409/13.42, allocations: 0.9313 MB / 4.366 GB, free: 45.19 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.493e-06/13.42, allocations: 0 / 4.366 GB, free: 45.19 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004592/13.42, allocations: 1.363 MB / 4.367 GB, free: 45.08 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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 Backend phase and start with SimCode phase: time 0.01653/13.44, allocations: 9.505 MB / 4.377 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008024/13.45, allocations: 2.744 MB / 4.379 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/13.45, allocations: 0 / 4.379 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003412/13.45, allocations: 1.473 MB / 4.381 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007409/13.46, allocations: 1.246 MB / 4.382 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/13.48, allocations: 11.77 MB / 4.393 GB, free: 33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/13.48, allocations: 1.952 MB / 4.395 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004637/13.48, allocations: 0.8371 MB / 4.396 GB, free: 32.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002553/13.49, allocations: 1.1 MB / 4.397 GB, free: 31.19 MB / 0.7448 GB Notification: Performance of SimCode: time 1.323e-06/13.49, allocations: 0 / 4.397 GB, free: 31.19 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.772/14.26, allocations: 121.1 MB / 4.515 GB, free: 93.95 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/14.26, allocations: 177 kB / 4.516 GB, free: 93.71 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.221/20.48, allocations: 7.781 kB / 4.516 GB, free: 93.7 MB / 0.7761 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)