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.916/0.916, allocations: 143.3 MB / 158.3 MB, free: 5.781 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.001399/0.001399, allocations: 181.1 kB / 191.5 MB, free: 5.758 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.727/1.727, allocations: 223.2 MB / 447.7 MB, free: 6.555 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.0009654/0.0009653, allocations: 96.27 kB / 0.5187 GB, free: 2.902 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001825/0.001825, allocations: 275.8 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005088, allocations: 12 kB / 0.6929 GB, free: 2.242 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5066, allocations: 82.78 MB / 0.7738 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.864/5.371, allocations: 1.894 GB / 2.668 GB, free: 128.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/5.371, allocations: 87.95 kB / 2.668 GB, free: 128.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.918/11.29, allocations: 1.752 GB / 4.42 GB, free: 20.93 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.873e-06/11.29, allocations: 0 / 4.42 GB, free: 20.93 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001744/11.29, allocations: 75.86 kB / 4.42 GB, free: 20.86 MB / 0.7605 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.01511/11.3, allocations: 3.956 MB / 4.424 GB, free: 16.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/11.3, allocations: 8.031 kB / 4.424 GB, free: 16.82 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001557/11.31, allocations: 371 kB / 4.425 GB, free: 16.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007335/11.31, allocations: 0.9016 MB / 4.426 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/11.32, allocations: 1.886 MB / 4.427 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/11.32, allocations: 193.2 kB / 4.428 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007412/11.32, allocations: 267.9 kB / 4.428 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005869/11.33, allocations: 3.274 MB / 4.431 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.877e-05/11.33, allocations: 11.78 kB / 4.431 GB, free: 9.754 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002858/11.33, allocations: 104 kB / 4.431 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/11.33, allocations: 117.1 kB / 4.431 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005535/11.33, allocations: 3.393 MB / 4.435 GB, free: 6.129 MB / 0.7605 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.01961/11.35, allocations: 12.31 MB / 4.447 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005056/11.36, allocations: 3.323 MB / 4.45 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/11.36, allocations: 1.497 MB / 4.451 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/11.36, allocations: 64.75 kB / 4.451 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 4.91e-06/11.36, allocations: 0 / 4.451 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.4943/11.85, allocations: 3.844 MB / 4.455 GB, free: 75.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/11.85, allocations: 80.78 kB / 4.455 GB, free: 75.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/11.86, allocations: 1.178 MB / 4.456 GB, free: 74.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0007008/11.86, allocations: 78.2 kB / 4.456 GB, free: 74.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000831/11.86, allocations: 0.9744 MB / 4.457 GB, free: 74.75 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/11.86, allocations: 0.943 MB / 4.458 GB, free: 74.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/11.86, allocations: 48.91 kB / 4.458 GB, free: 74.27 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001786/11.86, allocations: 401.6 kB / 4.459 GB, free: 73.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002218/11.86, allocations: 1.076 MB / 4.46 GB, free: 73.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/11.86, allocations: 1.403 MB / 4.461 GB, free: 73.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/11.87, allocations: 1.284 MB / 4.462 GB, free: 73.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/11.87, allocations: 0.8438 kB / 4.462 GB, free: 73.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005541/11.87, allocations: 2.942 MB / 4.465 GB, free: 73.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/11.87, allocations: 8.844 kB / 4.465 GB, free: 73.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/11.87, allocations: 3.344 kB / 4.465 GB, free: 73.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.586e-05/11.87, allocations: 15.22 kB / 4.465 GB, free: 73.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/11.87, allocations: 0.5124 MB / 4.466 GB, free: 73.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.818e-05/11.87, allocations: 20.78 kB / 4.466 GB, free: 73.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/11.88, allocations: 339.8 kB / 4.466 GB, free: 73.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/11.88, allocations: 88.67 kB / 4.466 GB, free: 73.35 MB / 0.7761 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.001578/11.88, allocations: 0.6449 MB / 4.467 GB, free: 73.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006052/11.88, allocations: 231.5 kB / 4.467 GB, free: 73.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/11.88, allocations: 3.091 MB / 4.47 GB, free: 72.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/11.88, allocations: 26.91 kB / 4.47 GB, free: 72.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/11.88, allocations: 0 / 4.47 GB, free: 72.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003781/11.89, allocations: 2.628 MB / 4.473 GB, free: 72.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/11.9, allocations: 6.148 MB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/11.9, allocations: 3.625 kB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/11.9, allocations: 0.553 MB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.012e-05/11.9, allocations: 8.812 kB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/11.9, allocations: 61.81 kB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/11.9, allocations: 16.92 kB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/11.9, allocations: 2.781 kB / 4.479 GB, free: 72.23 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/11.91, allocations: 4.756 MB / 4.484 GB, free: 71.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/11.91, allocations: 0.6104 MB / 4.485 GB, free: 71.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005294/11.91, allocations: 51.56 kB / 4.485 GB, free: 71.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/11.91, allocations: 226.7 kB / 4.485 GB, free: 71.62 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/11.91, allocations: 159 kB / 4.485 GB, free: 71.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/11.91, allocations: 82.52 kB / 4.485 GB, free: 71.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001417/11.92, allocations: 0.9162 MB / 4.486 GB, free: 71.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/11.92, allocations: 2.875 kB / 4.486 GB, free: 71.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004454/11.92, allocations: 1.361 MB / 4.487 GB, free: 71.46 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 () * 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.01275/11.93, allocations: 9.5 MB / 4.497 GB, free: 68.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004742/11.94, allocations: 2.746 MB / 4.499 GB, free: 68.65 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/11.94, allocations: 0 / 4.499 GB, free: 68.65 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/11.94, allocations: 1.478 MB / 4.501 GB, free: 68.64 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005682/11.95, allocations: 1.24 MB / 4.502 GB, free: 68.61 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/11.96, allocations: 11.74 MB / 4.513 GB, free: 62.15 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/11.96, allocations: 1.946 MB / 4.515 GB, free: 61.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003516/11.96, allocations: 0.8459 MB / 4.516 GB, free: 61.38 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/11.97, allocations: 1.089 MB / 4.517 GB, free: 61.37 MB / 0.7761 GB Notification: Performance of SimCode: time 9.02e-07/11.97, allocations: 0 / 4.517 GB, free: 61.37 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1796/12.15, allocations: 120.9 MB / 4.635 GB, free: 56.35 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/12.15, allocations: 197.4 kB / 4.635 GB, free: 56.11 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.424/18.57, allocations: 0 / 4.635 GB, free: 56.11 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)