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: 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.7661/0.7661, 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.001002/0.001002, allocations: 180.8 kB / 182.2 MB, free: 9.449 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.399/1.399, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008639/0.0008642, allocations: 88.06 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 273 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.538e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3636, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.588/3.951, allocations: 1.894 GB / 2.651 GB, free: 125.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/3.952, allocations: 87.2 kB / 2.651 GB, free: 125.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.232/9.183, allocations: 1.733 GB / 4.384 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/9.183, allocations: 0 / 4.384 GB, free: 21.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001684/9.184, allocations: 75.86 kB / 4.384 GB, free: 21.39 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.0111/9.195, allocations: 3.541 MB / 4.387 GB, free: 17.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/9.195, allocations: 8.031 kB / 4.387 GB, free: 17.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00654/9.201, allocations: 0.8977 MB / 4.388 GB, free: 16.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/9.205, allocations: 1.875 MB / 4.39 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.746e-05/9.205, allocations: 83.95 kB / 4.39 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003608/9.206, allocations: 163.1 kB / 4.39 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004379/9.21, allocations: 2.985 MB / 4.393 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004111/9.214, allocations: 2.849 MB / 4.396 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.147e-05/9.214, allocations: 4 kB / 4.396 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/9.214, allocations: 0 / 4.396 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.681e-05/9.214, allocations: 121.1 kB / 4.396 GB, free: 8.633 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.01429/9.229, allocations: 12.09 MB / 4.408 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00445/9.233, allocations: 3.766 MB / 4.412 GB, free: 7.746 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002549/9.236, allocations: 1.717 MB / 4.413 GB, free: 6.016 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/9.237, allocations: 1.493 MB / 4.415 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/9.237, allocations: 64.75 kB / 4.415 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=278): time 6.032e-06/9.237, allocations: 0 / 4.415 GB, free: 4.133 MB / 0.7605 GB Notification: Performance of matching and sorting (n=278): time 0.005789/9.243, allocations: 2.812 MB / 4.417 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/9.243, allocations: 88.97 kB / 4.418 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/9.245, allocations: 1.003 MB / 4.419 GB, free: 168 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/9.245, allocations: 33.64 kB / 4.419 GB, free: 128 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.4346/9.68, allocations: 0.9747 MB / 4.42 GB, free: 69.96 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001316/9.681, allocations: 0.9093 MB / 4.42 GB, free: 69.47 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/9.681, allocations: 0 / 4.42 GB, free: 69.47 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001552/9.681, allocations: 401.2 kB / 4.421 GB, free: 69.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/9.683, allocations: 1.06 MB / 4.422 GB, free: 69.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/9.685, allocations: 1.37 MB / 4.423 GB, free: 68.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/9.688, allocations: 1.403 MB / 4.425 GB, free: 68.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/9.688, allocations: 2.312 kB / 4.425 GB, free: 68.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004842/9.693, allocations: 2.968 MB / 4.427 GB, free: 68.62 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/9.693, allocations: 9.781 kB / 4.427 GB, free: 68.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/9.693, allocations: 6.453 kB / 4.427 GB, free: 68.62 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/9.693, allocations: 16.38 kB / 4.427 GB, free: 68.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/9.696, allocations: 0.5267 MB / 4.428 GB, free: 68.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/9.696, allocations: 20.08 kB / 4.428 GB, free: 68.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/9.698, allocations: 274.5 kB / 4.428 GB, free: 68.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/9.699, allocations: 99.5 kB / 4.428 GB, free: 68.57 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.0003965/9.699, allocations: 144.2 kB / 4.429 GB, free: 68.46 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/9.699, allocations: 220.7 kB / 4.429 GB, free: 68.35 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00565/9.705, allocations: 3.088 MB / 4.432 GB, free: 68.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/9.705, allocations: 30.61 kB / 4.432 GB, free: 68.18 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/9.705, allocations: 0 / 4.432 GB, free: 68.18 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004166/9.709, allocations: 2.692 MB / 4.434 GB, free: 67.93 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.009654/9.719, allocations: 6.299 MB / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/9.719, allocations: 3.656 kB / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/9.722, allocations: 0.5631 MB / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/9.722, allocations: 10.94 kB / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000166/9.722, allocations: 37.81 kB / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/9.722, allocations: 9.938 kB / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/9.722, allocations: 0 / 4.441 GB, free: 67.21 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006581/9.729, allocations: 4.842 MB / 4.446 GB, free: 66.82 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/9.73, allocations: 0.6168 MB / 4.446 GB, free: 66.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/9.73, allocations: 12.75 kB / 4.446 GB, free: 66.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/9.732, allocations: 188 kB / 4.447 GB, free: 66.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/9.733, allocations: 158.2 kB / 4.447 GB, free: 66.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/9.733, allocations: 89.72 kB / 4.447 GB, free: 66.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000988/9.734, allocations: 0.7717 MB / 4.448 GB, free: 66.49 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/9.734, allocations: 0 / 4.448 GB, free: 66.49 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002767/9.736, allocations: 1.171 MB / 4.449 GB, free: 66.43 MB / 0.7605 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.0051/9.742, allocations: 4.693 MB / 4.453 GB, free: 64.49 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003392/9.745, allocations: 2.704 MB / 4.456 GB, free: 64.43 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/9.745, allocations: 1.562 kB / 4.456 GB, free: 64.43 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/9.747, allocations: 1.462 MB / 4.457 GB, free: 64.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/9.752, allocations: 1.125 MB / 4.459 GB, free: 64.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007488/9.76, allocations: 5.086 MB / 4.464 GB, free: 63.39 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/9.761, allocations: 1.942 MB / 4.465 GB, free: 62.64 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003271/9.764, allocations: 0.8613 MB / 4.466 GB, free: 62.61 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/9.765, allocations: 222.4 kB / 4.466 GB, free: 62.61 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/9.765, allocations: 2.031 kB / 4.466 GB, free: 62.61 MB / 0.7605 GB Notification: Performance of Templates: time 0.08521/9.85, allocations: 63.73 MB / 4.529 GB, free: 58.89 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)