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.001881/0.001881, allocations: 173.7 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7575/0.7575, allocations: 133.6 MB / 141.6 MB, free: 2.871 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 395.4 MB, free: 10.81 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.0009417/0.0009417, allocations: 90.48 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.088e-05, allocations: 0 / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5188, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.232/5.751, allocations: 1.897 GB / 2.531 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/5.751, allocations: 91.8 kB / 2.531 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.875/12.63, allocations: 1.734 GB / 4.264 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.856e-06/12.63, allocations: 4 kB / 4.264 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004374/12.63, allocations: 67.98 kB / 4.264 GB, free: 4.52 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.01712/12.64, allocations: 3.549 MB / 4.268 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/12.64, allocations: 8.031 kB / 4.268 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.629/13.27, allocations: 0.9017 MB / 4.269 GB, free: 65.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007128/13.28, allocations: 1.908 MB / 4.271 GB, free: 65.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/13.28, allocations: 83.97 kB / 4.271 GB, free: 65.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008289/13.28, allocations: 155.1 kB / 4.271 GB, free: 65.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006828/13.29, allocations: 2.99 MB / 4.274 GB, free: 65.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/13.29, allocations: 2.842 MB / 4.277 GB, free: 64.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.403e-05/13.29, allocations: 8.719 kB / 4.277 GB, free: 64.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/13.29, allocations: 4.188 kB / 4.277 GB, free: 64.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/13.29, allocations: 123 kB / 4.277 GB, free: 64.86 MB / 0.7448 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.01693/13.31, allocations: 12.1 MB / 4.289 GB, free: 58.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/13.31, allocations: 3.757 MB / 4.292 GB, free: 57.77 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/13.32, allocations: 1.72 MB / 4.294 GB, free: 57.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/13.32, allocations: 1.491 MB / 4.295 GB, free: 56.14 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/13.32, allocations: 69.34 kB / 4.295 GB, free: 56.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 5.089e-06/13.32, allocations: 3.312 kB / 4.295 GB, free: 56.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.005426/13.32, allocations: 2.809 MB / 4.298 GB, free: 55.86 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/13.32, allocations: 78.59 kB / 4.298 GB, free: 55.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/13.33, allocations: 1.021 MB / 4.299 GB, free: 55.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/13.33, allocations: 27.92 kB / 4.299 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007618/13.33, allocations: 0.9803 MB / 4.3 GB, free: 55.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009315/13.33, allocations: 0.91 MB / 4.301 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/13.33, allocations: 3.75 kB / 4.301 GB, free: 54.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001815/13.33, allocations: 407.2 kB / 4.302 GB, free: 54.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/13.33, allocations: 1.062 MB / 4.303 GB, free: 54.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/13.33, allocations: 1.37 MB / 4.304 GB, free: 54.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/13.33, allocations: 1.401 MB / 4.305 GB, free: 54.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/13.33, allocations: 3.438 kB / 4.305 GB, free: 54.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.006247/13.34, allocations: 2.969 MB / 4.308 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/13.34, allocations: 7.688 kB / 4.308 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/13.34, allocations: 6.969 kB / 4.308 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.134e-05/13.34, allocations: 15.34 kB / 4.308 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/13.34, allocations: 0.5343 MB / 4.309 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.532e-05/13.34, allocations: 19.91 kB / 4.309 GB, free: 53.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003441/13.35, allocations: 275.9 kB / 4.309 GB, free: 53.92 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/13.35, allocations: 91.44 kB / 4.309 GB, free: 53.92 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 () * 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.0005375/13.35, allocations: 150 kB / 4.309 GB, free: 53.81 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005581/13.35, allocations: 2.782 MB / 4.312 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008257/13.35, allocations: 221.8 kB / 4.312 GB, free: 53.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005995/13.36, allocations: 3.088 MB / 4.315 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/13.36, allocations: 28.53 kB / 4.315 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/13.36, allocations: 2.844 kB / 4.315 GB, free: 53.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004227/13.36, allocations: 2.695 MB / 4.318 GB, free: 53.05 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.01253/13.38, allocations: 6.304 MB / 4.324 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/13.38, allocations: 0 / 4.324 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002737/13.38, allocations: 0.5698 MB / 4.325 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-05/13.38, allocations: 9.875 kB / 4.325 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000279/13.38, allocations: 32.03 kB / 4.325 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.377e-05/13.38, allocations: 8.781 kB / 4.325 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/13.38, allocations: 9.281 kB / 4.325 GB, free: 52.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009872/13.39, allocations: 4.845 MB / 4.329 GB, free: 51.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/13.39, allocations: 0.6234 MB / 4.33 GB, free: 51.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007989/13.39, allocations: 3.312 kB / 4.33 GB, free: 51.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/13.4, allocations: 183.8 kB / 4.33 GB, free: 51.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/13.4, allocations: 157.3 kB / 4.33 GB, free: 51.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/13.4, allocations: 93.16 kB / 4.33 GB, free: 51.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001479/13.4, allocations: 0.778 MB / 4.331 GB, free: 51.6 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/13.4, allocations: 0 / 4.331 GB, free: 51.6 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00403/13.4, allocations: 1.168 MB / 4.332 GB, free: 51.55 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 () * 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.01491/13.42, allocations: 9.989 MB / 4.342 GB, free: 48.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005172/13.42, allocations: 2.7 MB / 4.345 GB, free: 48.72 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/13.42, allocations: 3.5 kB / 4.345 GB, free: 48.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002395/13.42, allocations: 1.466 MB / 4.346 GB, free: 48.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006696/13.43, allocations: 1.126 MB / 4.347 GB, free: 48.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/13.44, allocations: 5.695 MB / 4.353 GB, free: 47.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/13.45, allocations: 1.951 MB / 4.355 GB, free: 46.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004495/13.45, allocations: 0.8524 MB / 4.355 GB, free: 46.82 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002131/13.45, allocations: 1.102 MB / 4.357 GB, free: 46.82 MB / 0.7448 GB Notification: Performance of SimCode: time 9.82e-07/13.45, allocations: 0 / 4.357 GB, free: 46.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1567/13.61, allocations: 91.74 MB / 4.446 GB, free: 42.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001553/13.61, allocations: 136.5 kB / 4.446 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.296/18.91, allocations: 0 / 4.446 GB, free: 42.32 MB / 0.7448 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)