Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8199/0.8199, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 179.8 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.001063/0.001063, allocations: 91.59 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 271.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.163e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4612, allocations: 82.78 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.871/5.332, allocations: 1.894 GB / 2.651 GB, free: 164.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/5.332, allocations: 83.95 kB / 2.651 GB, free: 164.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.832/11.16, allocations: 1.733 GB / 4.384 GB, free: 45.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/11.16, allocations: 0 / 4.384 GB, free: 45.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001652/11.16, allocations: 71.69 kB / 4.384 GB, free: 45.25 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.01156/11.18, allocations: 3.551 MB / 4.387 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/11.18, allocations: 11.97 kB / 4.387 GB, free: 41.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007021/11.18, allocations: 0.8969 MB / 4.388 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005103/11.19, allocations: 1.866 MB / 4.39 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.643e-05/11.19, allocations: 84.34 kB / 4.39 GB, free: 38.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/11.19, allocations: 159.9 kB / 4.39 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004645/11.19, allocations: 2.993 MB / 4.393 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/11.2, allocations: 2.845 MB / 4.396 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-05/11.2, allocations: 4 kB / 4.396 GB, free: 32.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002649/11.2, allocations: 7.938 kB / 4.396 GB, free: 32.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/11.2, allocations: 128.2 kB / 4.396 GB, free: 32.52 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.0139/11.21, allocations: 12.1 MB / 4.408 GB, free: 19.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/11.22, allocations: 3.754 MB / 4.412 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/11.22, allocations: 1.709 MB / 4.413 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/11.22, allocations: 1.497 MB / 4.415 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/11.22, allocations: 68.97 kB / 4.415 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 4.769e-06/11.22, allocations: 0 / 4.415 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.004877/11.22, allocations: 2.816 MB / 4.418 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/11.22, allocations: 81.59 kB / 4.418 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/11.23, allocations: 1.003 MB / 4.419 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/11.23, allocations: 25.7 kB / 4.419 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005025/11.23, allocations: 0.9875 MB / 4.42 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000655/11.23, allocations: 0.9158 MB / 4.421 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/11.23, allocations: 3.188 kB / 4.421 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001165/11.23, allocations: 394.9 kB / 4.421 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/11.23, allocations: 1.063 MB / 4.422 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/11.23, allocations: 1.364 MB / 4.423 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002484/11.23, allocations: 1.407 MB / 4.425 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/11.23, allocations: 7.938 kB / 4.425 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005011/11.24, allocations: 2.97 MB / 4.428 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/11.24, allocations: 8 kB / 4.428 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/11.24, allocations: 7.938 kB / 4.428 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/11.24, allocations: 16 kB / 4.428 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/11.24, allocations: 0.5272 MB / 4.428 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.293e-05/11.24, allocations: 23.92 kB / 4.428 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/11.24, allocations: 277.9 kB / 4.428 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/11.24, allocations: 87.97 kB / 4.428 GB, free: 13.93 MB / 0.7605 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.0004039/11.24, allocations: 144.4 kB / 4.429 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00535/11.25, allocations: 2.781 MB / 4.431 GB, free: 10.95 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004412/11.25, allocations: 217.4 kB / 4.432 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005951/11.26, allocations: 3.091 MB / 4.435 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/11.26, allocations: 32 kB / 4.435 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/11.26, allocations: 0 / 4.435 GB, free: 7.559 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004478/11.26, allocations: 2.696 MB / 4.437 GB, free: 4.793 MB / 0.7605 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.01143/11.27, allocations: 6.287 MB / 4.443 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/11.27, allocations: 7.891 kB / 4.443 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/11.27, allocations: 0.5696 MB / 4.444 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/11.27, allocations: 8 kB / 4.444 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/11.27, allocations: 39.95 kB / 4.444 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/11.27, allocations: 8 kB / 4.444 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/11.27, allocations: 0 / 4.444 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007701/11.28, allocations: 4.838 MB / 4.449 GB, free: 8.785 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/11.28, allocations: 0.6266 MB / 4.449 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/11.28, allocations: 8 kB / 4.449 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/11.29, allocations: 183.5 kB / 4.449 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/11.29, allocations: 150 kB / 4.45 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001857/11.29, allocations: 95.94 kB / 4.45 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001164/11.29, allocations: 0.7707 MB / 4.45 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/11.29, allocations: 4 kB / 4.45 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00304/11.29, allocations: 1.173 MB / 4.452 GB, free: 5.762 MB / 0.7761 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.5821/11.87, allocations: 9.984 MB / 4.461 GB, free: 91.66 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00498/11.88, allocations: 2.71 MB / 4.464 GB, free: 91.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/11.88, allocations: 0 / 4.464 GB, free: 91.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001931/11.88, allocations: 1.46 MB / 4.465 GB, free: 91.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005988/11.89, allocations: 1.132 MB / 4.467 GB, free: 91.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009183/11.89, allocations: 5.679 MB / 4.472 GB, free: 90.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/11.9, allocations: 1.941 MB / 4.474 GB, free: 89.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003231/11.9, allocations: 0.8557 MB / 4.475 GB, free: 89.73 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/11.9, allocations: 1.087 MB / 4.476 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/11.9, allocations: 0 / 4.476 GB, free: 89.72 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1311/12.03, allocations: 91.61 MB / 4.565 GB, free: 85.32 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/12.03, allocations: 158.9 kB / 4.566 GB, free: 85.12 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.052/17.08, allocations: 0 / 4.566 GB, free: 85.12 MB / 0.7761 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)