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.9949/0.9949, 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.001505/0.001505, allocations: 183.8 kB / 182.2 MB, free: 9.465 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.536/1.536, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009485/0.0009484, allocations: 92.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002075/0.002075, allocations: 282.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.644e-05, allocations: 4 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5467/0.5467, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.962/5.508, allocations: 1.876 GB / 2.634 GB, free: 143.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/5.509, allocations: 88.2 kB / 2.634 GB, free: 143.4 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.124/6.633, allocations: 355.7 MB / 2.981 GB, free: 74.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.532e-06/6.633, allocations: 4 kB / 2.981 GB, free: 74.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.48e-05/6.633, allocations: 16 kB / 2.981 GB, free: 74.09 MB / 0.698 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.002215/6.635, allocations: 0.9698 MB / 2.982 GB, free: 73.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/6.635, allocations: 12.03 kB / 2.982 GB, free: 73.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/6.637, allocations: 266.8 kB / 2.982 GB, free: 72.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/6.639, allocations: 0.6791 MB / 2.983 GB, free: 72.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/6.639, allocations: 16.86 kB / 2.983 GB, free: 72.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/6.639, allocations: 36 kB / 2.983 GB, free: 72.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008102/6.64, allocations: 450.4 kB / 2.984 GB, free: 71.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008411/6.641, allocations: 475.9 kB / 2.984 GB, free: 71.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/6.641, allocations: 3.938 kB / 2.984 GB, free: 71.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.818e-05/6.641, allocations: 0 / 2.984 GB, free: 71.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/6.641, allocations: 29.3 kB / 2.984 GB, free: 71.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002947/6.644, allocations: 2.246 MB / 2.986 GB, free: 68.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/6.644, allocations: 372.5 kB / 2.987 GB, free: 68.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/6.645, allocations: 202.2 kB / 2.987 GB, free: 68.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/6.645, allocations: 105 kB / 2.987 GB, free: 67.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/6.645, allocations: 42.56 kB / 2.987 GB, free: 67.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/6.645, allocations: 0 / 2.987 GB, free: 67.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002273/6.647, allocations: 1.17 MB / 2.988 GB, free: 66.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/6.647, allocations: 59.78 kB / 2.988 GB, free: 66.63 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/6.647, allocations: 373.4 kB / 2.989 GB, free: 66.26 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/6.648, allocations: 25.7 kB / 2.989 GB, free: 66.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/6.648, allocations: 328.3 kB / 2.989 GB, free: 65.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/6.648, allocations: 169.5 kB / 2.989 GB, free: 65.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/6.648, allocations: 0 / 2.989 GB, free: 65.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.744e-05/6.648, allocations: 362.7 kB / 2.989 GB, free: 65.37 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/6.648, allocations: 161.1 kB / 2.99 GB, free: 65.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002379/6.648, allocations: 236.6 kB / 2.99 GB, free: 64.95 MB / 0.698 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.002257/6.651, allocations: 0.9941 MB / 2.991 GB, free: 63.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/6.651, allocations: 4 kB / 2.991 GB, free: 63.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006331/6.651, allocations: 471.3 kB / 2.991 GB, free: 63.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/6.651, allocations: 8.156 kB / 2.991 GB, free: 63.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/6.651, allocations: 4 kB / 2.991 GB, free: 63.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/6.651, allocations: 4 kB / 2.991 GB, free: 63.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/6.652, allocations: 103.9 kB / 2.991 GB, free: 63.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/6.652, allocations: 4 kB / 2.991 GB, free: 63.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/6.653, allocations: 23.89 kB / 2.991 GB, free: 63.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.293e-05/6.653, allocations: 16 kB / 2.991 GB, free: 63.3 MB / 0.698 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 () * 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.0001536/6.653, allocations: 132.4 kB / 2.991 GB, free: 63.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/6.653, allocations: 59.25 kB / 2.992 GB, free: 63.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/6.653, allocations: 69.48 kB / 2.992 GB, free: 63.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/6.653, allocations: 8 kB / 2.992 GB, free: 63.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/6.653, allocations: 0 / 2.992 GB, free: 63.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004771/6.654, allocations: 474.9 kB / 2.992 GB, free: 62.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/6.656, allocations: 1.441 MB / 2.993 GB, free: 60.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/6.656, allocations: 8.125 kB / 2.993 GB, free: 60.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/6.656, allocations: 115.9 kB / 2.994 GB, free: 60.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.769e-06/6.656, allocations: 8 kB / 2.994 GB, free: 60.85 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/6.656, allocations: 12 kB / 2.994 GB, free: 60.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/6.656, allocations: 15.92 kB / 2.994 GB, free: 60.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/6.656, allocations: 4 kB / 2.994 GB, free: 60.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/6.657, allocations: 1.112 MB / 2.995 GB, free: 59.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/6.658, allocations: 196.3 kB / 2.995 GB, free: 59.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.977e-05/6.658, allocations: 8 kB / 2.995 GB, free: 59.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/6.658, allocations: 23.92 kB / 2.995 GB, free: 59.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/6.658, allocations: 51.78 kB / 2.995 GB, free: 59.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/6.658, allocations: 27.98 kB / 2.995 GB, free: 59.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002863/6.659, allocations: 298.9 kB / 2.995 GB, free: 58.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/6.659, allocations: 0 / 2.995 GB, free: 58.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009157/6.66, allocations: 244 kB / 2.996 GB, free: 58.65 MB / 0.698 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 () * 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.002121/6.662, allocations: 1.196 MB / 2.997 GB, free: 57.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000835/6.663, allocations: 396.5 kB / 2.997 GB, free: 57.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/6.663, allocations: 0 / 2.997 GB, free: 57.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002947/6.663, allocations: 209.1 kB / 2.997 GB, free: 56.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/6.665, allocations: 404.3 kB / 2.998 GB, free: 56.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/6.667, allocations: 1.217 MB / 2.999 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/6.668, allocations: 0.9843 MB / 3 GB, free: 54.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007131/6.668, allocations: 145.2 kB / 3 GB, free: 54.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/6.669, allocations: 55.44 kB / 3 GB, free: 53.96 MB / 0.698 GB Notification: Performance of SimCode: time 1.693e-06/6.669, allocations: 0 / 3 GB, free: 53.96 MB / 0.698 GB Notification: Performance of Templates: time 0.02548/6.694, allocations: 17.73 MB / 3.017 GB, free: 36.38 MB / 0.698 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)