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.8256/0.8256, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 184.2 kB / 187.3 MB, free: 11.88 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.589/1.589, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.001019/0.001019, allocations: 92.17 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 272.5 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.209e-05/4.219e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5139, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.375/5.889, allocations: 1.894 GB / 2.659 GB, free: 112.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/5.89, allocations: 88.83 kB / 2.659 GB, free: 112.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.973/12.86, allocations: 1.751 GB / 4.409 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.545e-06/12.86, allocations: 0 / 4.409 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0003608/12.86, allocations: 75.92 kB / 4.409 GB, free: 5.789 MB / 0.7761 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.01825/12.88, allocations: 3.544 MB / 4.413 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/12.88, allocations: 14.94 kB / 4.413 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002111/12.88, allocations: 367 kB / 4.413 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008867/12.89, allocations: 0.8976 MB / 4.414 GB, free: 0.9023 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6601/13.55, allocations: 1.862 MB / 4.416 GB, free: 78.06 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/13.55, allocations: 204 kB / 4.416 GB, free: 78.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/13.55, allocations: 267.4 kB / 4.416 GB, free: 78.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009077/13.56, allocations: 3.212 MB / 4.42 GB, free: 77.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-05/13.56, allocations: 6.172 kB / 4.42 GB, free: 77.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/13.56, allocations: 107.8 kB / 4.42 GB, free: 77.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002248/13.56, allocations: 122 kB / 4.42 GB, free: 77.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006806/13.57, allocations: 3.31 MB / 4.423 GB, free: 77.68 MB / 0.7761 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.01756/13.59, allocations: 12.32 MB / 4.435 GB, free: 71.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004149/13.59, allocations: 3.277 MB / 4.438 GB, free: 71.14 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/13.6, allocations: 1.764 MB / 4.44 GB, free: 71.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/13.6, allocations: 1.49 MB / 4.441 GB, free: 69.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.999e-05/13.6, allocations: 70.72 kB / 4.442 GB, free: 69.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=278): time 4.117e-06/13.6, allocations: 0 / 4.442 GB, free: 69.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=278): time 0.004892/13.6, allocations: 2.71 MB / 4.444 GB, free: 69.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/13.6, allocations: 84.98 kB / 4.444 GB, free: 69.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/13.6, allocations: 1.163 MB / 4.445 GB, free: 69 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/13.6, allocations: 76.77 kB / 4.445 GB, free: 68.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/13.6, allocations: 0.985 MB / 4.446 GB, free: 68.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009105/13.61, allocations: 0.9434 MB / 4.447 GB, free: 68.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/13.61, allocations: 48.78 kB / 4.447 GB, free: 68.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001383/13.61, allocations: 400.5 kB / 4.448 GB, free: 67.89 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/13.61, allocations: 1.055 MB / 4.449 GB, free: 67.88 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/13.61, allocations: 1.374 MB / 4.45 GB, free: 67.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/13.61, allocations: 1.269 MB / 4.451 GB, free: 67.55 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/13.61, allocations: 3.906 kB / 4.451 GB, free: 67.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005207/13.62, allocations: 2.891 MB / 4.454 GB, free: 67.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/13.62, allocations: 9.531 kB / 4.454 GB, free: 67.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/13.62, allocations: 3.688 kB / 4.454 GB, free: 67.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.841e-05/13.62, allocations: 13.38 kB / 4.454 GB, free: 67.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/13.62, allocations: 0.5162 MB / 4.455 GB, free: 67.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.155e-05/13.62, allocations: 23.78 kB / 4.455 GB, free: 67.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003287/13.62, allocations: 343.9 kB / 4.455 GB, free: 67.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/13.62, allocations: 84.02 kB / 4.455 GB, free: 67.26 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 () * 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.000516/13.62, allocations: 242.7 kB / 4.455 GB, free: 67.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005537/13.62, allocations: 230.4 kB / 4.456 GB, free: 67.04 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/13.63, allocations: 3.043 MB / 4.459 GB, free: 66.87 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/13.63, allocations: 23.81 kB / 4.459 GB, free: 66.87 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/13.63, allocations: 2.969 kB / 4.459 GB, free: 66.87 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003452/13.63, allocations: 2.582 MB / 4.461 GB, free: 66.62 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/13.64, allocations: 6.13 MB / 4.467 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/13.64, allocations: 0 / 4.467 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/13.65, allocations: 0.5616 MB / 4.468 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-05/13.65, allocations: 17.92 kB / 4.468 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001921/13.65, allocations: 63.72 kB / 4.468 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-05/13.65, allocations: 9.5 kB / 4.468 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/13.65, allocations: 1.75 kB / 4.468 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007071/13.65, allocations: 4.688 MB / 4.472 GB, free: 65.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/13.66, allocations: 0.617 MB / 4.473 GB, free: 65.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/13.66, allocations: 54.09 kB / 4.473 GB, free: 65.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/13.66, allocations: 220.4 kB / 4.473 GB, free: 65.54 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/13.66, allocations: 155.8 kB / 4.473 GB, free: 65.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/13.66, allocations: 87.16 kB / 4.473 GB, free: 65.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001354/13.66, allocations: 0.9034 MB / 4.474 GB, free: 65.42 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.6e-07/13.66, allocations: 3.969 kB / 4.474 GB, free: 65.42 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004065/13.66, allocations: 1.362 MB / 4.476 GB, free: 65.37 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.01347/13.68, allocations: 9.452 MB / 4.485 GB, free: 62.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005085/13.68, allocations: 2.7 MB / 4.488 GB, free: 62.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/13.68, allocations: 2.812 kB / 4.488 GB, free: 62.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/13.68, allocations: 1.453 MB / 4.489 GB, free: 62.51 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007615/13.69, allocations: 1.253 MB / 4.49 GB, free: 62.48 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/13.7, allocations: 5.847 MB / 4.496 GB, free: 61.38 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/13.71, allocations: 1.941 MB / 4.498 GB, free: 60.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00366/13.71, allocations: 0.8428 MB / 4.499 GB, free: 60.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/13.71, allocations: 1.092 MB / 4.5 GB, free: 60.59 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/13.71, allocations: 2.734 kB / 4.5 GB, free: 60.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1993/13.91, allocations: 131.7 MB / 4.628 GB, free: 44.83 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/13.91, allocations: 171.6 kB / 4.628 GB, free: 44.61 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/20.78, allocations: 4 kB / 4.628 GB, free: 44.61 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)