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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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: translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") translateModel(BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8697/0.8697, allocations: 140 MB / 156 MB, free: 8.41 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001365/0.001365, allocations: 172.5 kB / 188.5 MB, free: 9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.94/1.94, allocations: 205.4 MB / 426.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008079/0.0008081, allocations: 94.41 kB / 0.4945 GB, free: 8.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001881/0.001881, allocations: 263.9 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.000491, allocations: 16 kB / 0.662 GB, free: 6.742 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4501/0.4506, allocations: 79.29 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.278/5.728, allocations: 2.058 GB / 2.797 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/5.729, allocations: 102.7 kB / 2.797 GB, free: 263.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.937/12.67, allocations: 1.726 GB / 4.523 GB, free: 64.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/12.67, allocations: 0 / 4.523 GB, free: 64.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0004167/12.67, allocations: 71.77 kB / 4.523 GB, free: 64.86 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.01593/12.68, allocations: 3.929 MB / 4.527 GB, free: 63.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/12.68, allocations: 10.94 kB / 4.527 GB, free: 63.39 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007437/12.69, allocations: 0.8944 MB / 4.528 GB, free: 63.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/12.7, allocations: 1.953 MB / 4.53 GB, free: 62.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/12.7, allocations: 197.5 kB / 4.53 GB, free: 62.7 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/12.7, allocations: 268.9 kB / 4.53 GB, free: 62.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009029/12.71, allocations: 3.294 MB / 4.533 GB, free: 62.37 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/12.71, allocations: 8.422 kB / 4.533 GB, free: 62.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007112/12.71, allocations: 110.2 kB / 4.534 GB, free: 62.37 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/12.71, allocations: 115.7 kB / 4.534 GB, free: 62.36 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00834/12.72, allocations: 3.395 MB / 4.537 GB, free: 62.33 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.02171/12.74, allocations: 12.34 MB / 4.549 GB, free: 56.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00504/12.74, allocations: 3.322 MB / 4.552 GB, free: 55.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/12.75, allocations: 1.796 MB / 4.554 GB, free: 55.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/12.75, allocations: 1.487 MB / 4.555 GB, free: 53.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/12.75, allocations: 71.25 kB / 4.556 GB, free: 53.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=278): time 5.269e-06/12.75, allocations: 0 / 4.556 GB, free: 53.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=278): time 0.007843/12.75, allocations: 3.849 MB / 4.559 GB, free: 53.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/12.75, allocations: 81.03 kB / 4.559 GB, free: 53.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/12.76, allocations: 1.355 MB / 4.561 GB, free: 53.43 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000335/12.76, allocations: 79.27 kB / 4.561 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006759/12.76, allocations: 0.9742 MB / 4.562 GB, free: 53.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009302/12.76, allocations: 0.9454 MB / 4.563 GB, free: 52.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001956/12.76, allocations: 50.72 kB / 4.563 GB, free: 52.39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002038/12.76, allocations: 404.5 kB / 4.563 GB, free: 52.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/12.76, allocations: 1.078 MB / 4.564 GB, free: 52.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/12.76, allocations: 1.425 MB / 4.566 GB, free: 51.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/12.77, allocations: 2.634 MB / 4.568 GB, free: 51.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.397e-05/12.77, allocations: 3.719 kB / 4.568 GB, free: 51.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005609/12.77, allocations: 2.949 MB / 4.571 GB, free: 51.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/12.77, allocations: 9.906 kB / 4.571 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/12.77, allocations: 5.719 kB / 4.571 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.42e-05/12.77, allocations: 15.16 kB / 4.571 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/12.78, allocations: 0.5178 MB / 4.572 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.507e-05/12.78, allocations: 21.58 kB / 4.572 GB, free: 51.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003443/12.78, allocations: 333.1 kB / 4.572 GB, free: 51.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003428/12.78, allocations: 91.66 kB / 4.572 GB, free: 51.23 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.001903/12.78, allocations: 0.6454 MB / 4.573 GB, free: 51.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009552/12.78, allocations: 233.5 kB / 4.573 GB, free: 51 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005929/12.79, allocations: 3.094 MB / 4.576 GB, free: 50.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/12.79, allocations: 29.56 kB / 4.576 GB, free: 50.83 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/12.79, allocations: 0 / 4.576 GB, free: 50.83 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00436/12.79, allocations: 2.631 MB / 4.578 GB, free: 50.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/12.81, allocations: 6.189 MB / 4.584 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-05/12.81, allocations: 3.625 kB / 4.584 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/12.81, allocations: 0.5529 MB / 4.585 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-05/12.81, allocations: 9.656 kB / 4.585 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003877/12.81, allocations: 61.75 kB / 4.585 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.039e-05/12.81, allocations: 9.406 kB / 4.585 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/12.81, allocations: 2.656 kB / 4.585 GB, free: 50.07 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/12.82, allocations: 4.775 MB / 4.59 GB, free: 49.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/12.82, allocations: 0.6091 MB / 4.59 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00074/12.82, allocations: 51.69 kB / 4.59 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/12.83, allocations: 224.4 kB / 4.591 GB, free: 49.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/12.83, allocations: 151.2 kB / 4.591 GB, free: 49.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/12.83, allocations: 88.39 kB / 4.591 GB, free: 49.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001855/12.83, allocations: 0.9229 MB / 4.592 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/12.83, allocations: 0 / 4.592 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004562/12.83, allocations: 1.369 MB / 4.593 GB, free: 49.18 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.007318/12.84, allocations: 4.326 MB / 4.597 GB, free: 47.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005353/12.85, allocations: 2.756 MB / 4.6 GB, free: 47.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/12.85, allocations: 0 / 4.6 GB, free: 47.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/12.85, allocations: 1.481 MB / 4.601 GB, free: 47.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007861/12.86, allocations: 1.272 MB / 4.603 GB, free: 47.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/12.87, allocations: 7.251 MB / 4.61 GB, free: 44.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/12.87, allocations: 1.888 MB / 4.612 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004921/12.88, allocations: 0.8448 MB / 4.612 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/12.88, allocations: 222.5 kB / 4.613 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of SimCode: time 1.313e-06/12.88, allocations: 0 / 4.613 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of Templates: time 0.6028/13.48, allocations: 89.33 MB / 4.7 GB, free: 85.8 MB / 0.7605 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)