Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8515/0.8515, allocations: 143.4 MB / 158.3 MB, free: 5.805 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.000994/0.0009939, allocations: 181 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.444/1.444, allocations: 223.2 MB / 447.7 MB, free: 4.816 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.0008594/0.0008594, allocations: 88.33 kB / 0.5188 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001712/0.001711, allocations: 269.6 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006044, allocations: 19.61 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2038, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.661/4.865, allocations: 1.877 GB / 2.651 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/4.865, allocations: 96.58 kB / 2.651 GB, free: 151.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.198/6.063, allocations: 360.1 MB / 3.003 GB, free: 95.15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/6.063, allocations: 0 / 3.003 GB, free: 95.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001095/6.063, allocations: 16 kB / 3.003 GB, free: 95.13 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003125/6.066, allocations: 1.087 MB / 3.004 GB, free: 94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/6.066, allocations: 12.02 kB / 3.004 GB, free: 93.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/6.069, allocations: 266.7 kB / 3.004 GB, free: 93.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/6.07, allocations: 0.6791 MB / 3.005 GB, free: 93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/6.07, allocations: 50.34 kB / 3.005 GB, free: 92.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/6.071, allocations: 63.98 kB / 3.005 GB, free: 92.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/6.072, allocations: 0.557 MB / 3.005 GB, free: 92.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/6.072, allocations: 4 kB / 3.005 GB, free: 92.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/6.072, allocations: 24 kB / 3.005 GB, free: 92.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/6.072, allocations: 25.3 kB / 3.005 GB, free: 92.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/6.073, allocations: 496.8 kB / 3.006 GB, free: 91.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/6.076, allocations: 2.376 MB / 3.008 GB, free: 89.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/6.077, allocations: 415.3 kB / 3.009 GB, free: 88.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/6.077, allocations: 97.09 kB / 3.009 GB, free: 88.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/6.077, allocations: 39.28 kB / 3.009 GB, free: 88.65 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/6.077, allocations: 0 / 3.009 GB, free: 88.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.002833/6.08, allocations: 1.415 MB / 3.01 GB, free: 87.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/6.08, allocations: 63.8 kB / 3.01 GB, free: 87.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/6.08, allocations: 466.3 kB / 3.011 GB, free: 86.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/6.08, allocations: 41.7 kB / 3.011 GB, free: 86.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/6.08, allocations: 328.6 kB / 3.011 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000128/6.081, allocations: 165.5 kB / 3.011 GB, free: 86.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/6.081, allocations: 12 kB / 3.011 GB, free: 86.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001051/6.081, allocations: 370.8 kB / 3.011 GB, free: 85.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/6.081, allocations: 169 kB / 3.012 GB, free: 85.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/6.081, allocations: 261.7 kB / 3.012 GB, free: 85.28 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/6.084, allocations: 1.02 MB / 3.013 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/6.084, allocations: 4 kB / 3.013 GB, free: 84.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007585/6.085, allocations: 0.5187 MB / 3.013 GB, free: 83.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/6.085, allocations: 4 kB / 3.013 GB, free: 83.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/6.085, allocations: 4 kB / 3.013 GB, free: 83.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/6.085, allocations: 4 kB / 3.013 GB, free: 83.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/6.085, allocations: 100 kB / 3.013 GB, free: 83.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/6.085, allocations: 3.938 kB / 3.013 GB, free: 83.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/6.086, allocations: 39.78 kB / 3.013 GB, free: 83.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.526e-05/6.086, allocations: 16 kB / 3.014 GB, free: 83.53 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0004631/6.086, allocations: 252.7 kB / 3.014 GB, free: 83.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/6.087, allocations: 71.23 kB / 3.014 GB, free: 83.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/6.087, allocations: 74.41 kB / 3.014 GB, free: 83.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/6.087, allocations: 8.062 kB / 3.014 GB, free: 83.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/6.087, allocations: 4 kB / 3.014 GB, free: 83.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006403/6.087, allocations: 0.5105 MB / 3.014 GB, free: 82.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/6.09, allocations: 1.577 MB / 3.016 GB, free: 80.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/6.09, allocations: 4 kB / 3.016 GB, free: 80.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/6.09, allocations: 116.5 kB / 3.016 GB, free: 80.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/6.09, allocations: 19.88 kB / 3.016 GB, free: 80.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/6.091, allocations: 20 kB / 3.016 GB, free: 80.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.284e-06/6.091, allocations: 4 kB / 3.016 GB, free: 80.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/6.091, allocations: 11.94 kB / 3.016 GB, free: 80.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/6.092, allocations: 1.158 MB / 3.017 GB, free: 79.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/6.092, allocations: 200.3 kB / 3.017 GB, free: 79.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/6.093, allocations: 15.95 kB / 3.017 GB, free: 79.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/6.093, allocations: 43.83 kB / 3.017 GB, free: 79.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/6.093, allocations: 47.84 kB / 3.018 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/6.093, allocations: 23.98 kB / 3.018 GB, free: 78.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005004/6.094, allocations: 386.8 kB / 3.018 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/6.094, allocations: 0 / 3.018 GB, free: 78.62 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00132/6.095, allocations: 288 kB / 3.018 GB, free: 78.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.U,volSim.dynBal.mXi[1],volExa.dynBal.U,volExa.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 (49): * Single equations (assignments): 49 * 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.002011/6.097, allocations: 1.066 MB / 3.019 GB, free: 77.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008007/6.098, allocations: 429.2 kB / 3.02 GB, free: 76.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/6.098, allocations: 0 / 3.02 GB, free: 76.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/6.098, allocations: 240.8 kB / 3.02 GB, free: 76.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/6.1, allocations: 451.1 kB / 3.02 GB, free: 76.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/6.103, allocations: 1.863 MB / 3.022 GB, free: 74.23 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/6.103, allocations: 0.9926 MB / 3.023 GB, free: 73.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007254/6.104, allocations: 157.9 kB / 3.023 GB, free: 73.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/6.104, allocations: 55.44 kB / 3.023 GB, free: 73 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/6.104, allocations: 0 / 3.023 GB, free: 73 MB / 0.7136 GB Notification: Performance of Templates: time 0.03611/6.14, allocations: 26.3 MB / 3.049 GB, free: 46.88 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1)