Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8615/0.8615, allocations: 140.1 MB / 156 MB, free: 5.152 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.001631/0.001631, allocations: 178.4 kB / 188.5 MB, free: 15.8 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.682/1.682, allocations: 205.4 MB / 426.3 MB, free: 8.461 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.0009072/0.0009072, allocations: 102.3 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001739/0.00174, allocations: 270.4 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005108/0.0005109, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4811, allocations: 79.3 MB / 0.7395 GB, free: 46.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.367/5.848, allocations: 2.044 GB / 2.783 GB, free: 246.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/5.848, allocations: 86.95 kB / 2.783 GB, free: 246.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.35/7.199, allocations: 456 MB / 3.228 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.914e-06/7.199, allocations: 0 / 3.228 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001347/7.199, allocations: 31.94 kB / 3.228 GB, free: 57.58 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004189/7.203, allocations: 1.371 MB / 3.23 GB, free: 56.15 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/7.203, allocations: 19.91 kB / 3.23 GB, free: 56.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/7.206, allocations: 303.3 kB / 3.23 GB, free: 55.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/7.208, allocations: 0.852 MB / 3.231 GB, free: 54.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/7.208, allocations: 67.12 kB / 3.231 GB, free: 54.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/7.208, allocations: 87.91 kB / 3.231 GB, free: 54.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/7.21, allocations: 0.9975 MB / 3.232 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/7.21, allocations: 0 / 3.232 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/7.21, allocations: 40 kB / 3.232 GB, free: 53.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/7.211, allocations: 30 kB / 3.232 GB, free: 53.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/7.212, allocations: 0.8003 MB / 3.233 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/7.217, allocations: 3.474 MB / 3.236 GB, free: 49.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/7.218, allocations: 496.6 kB / 3.237 GB, free: 48.72 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/7.218, allocations: 287 kB / 3.237 GB, free: 48.44 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002171/7.218, allocations: 101.5 kB / 3.237 GB, free: 48.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/7.218, allocations: 54.94 kB / 3.237 GB, free: 48.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.626e-06/7.218, allocations: 0 / 3.237 GB, free: 48.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.003997/7.222, allocations: 1.864 MB / 3.239 GB, free: 46.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/7.222, allocations: 55.84 kB / 3.239 GB, free: 46.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/7.223, allocations: 0.794 MB / 3.24 GB, free: 45.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/7.223, allocations: 41.7 kB / 3.24 GB, free: 45.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/7.224, allocations: 467.4 kB / 3.24 GB, free: 44.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/7.224, allocations: 173.5 kB / 3.24 GB, free: 44.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/7.224, allocations: 12 kB / 3.24 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/7.224, allocations: 337.9 kB / 3.241 GB, free: 44.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/7.224, allocations: 237.1 kB / 3.241 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/7.225, allocations: 376.2 kB / 3.241 GB, free: 43.76 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003078/7.228, allocations: 1.508 MB / 3.243 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/7.228, allocations: 4 kB / 3.243 GB, free: 42.19 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001152/7.229, allocations: 0.7731 MB / 3.244 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/7.229, allocations: 5.094 kB / 3.244 GB, free: 41.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/7.229, allocations: 4 kB / 3.244 GB, free: 41.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/7.229, allocations: 85.66 kB / 3.244 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/7.23, allocations: 127.8 kB / 3.244 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/7.232, allocations: 2.957 MB / 3.247 GB, free: 37.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/7.233, allocations: 59.86 kB / 3.247 GB, free: 37.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/7.233, allocations: 28 kB / 3.247 GB, free: 37.87 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005906/7.234, allocations: 297.6 kB / 3.247 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/7.234, allocations: 94.91 kB / 3.247 GB, free: 37.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/7.234, allocations: 104.4 kB / 3.247 GB, free: 37.37 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/7.234, allocations: 4 kB / 3.247 GB, free: 37.37 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/7.234, allocations: 0 / 3.247 GB, free: 37.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008957/7.235, allocations: 0.8232 MB / 3.248 GB, free: 36.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/7.237, allocations: 1.732 MB / 3.25 GB, free: 34.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/7.237, allocations: 0 / 3.25 GB, free: 34.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004721/7.238, allocations: 111.9 kB / 3.25 GB, free: 34.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/7.238, allocations: 69.17 kB / 3.25 GB, free: 34.44 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.679e-05/7.238, allocations: 19.92 kB / 3.25 GB, free: 34.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/7.239, allocations: 1.597 MB / 3.252 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/7.239, allocations: 4 kB / 3.252 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/7.24, allocations: 1.046 MB / 3.253 GB, free: 31.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/7.241, allocations: 236 kB / 3.253 GB, free: 31.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.774e-05/7.241, allocations: 15.98 kB / 3.253 GB, free: 31.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/7.242, allocations: 59.86 kB / 3.253 GB, free: 31.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/7.242, allocations: 51.83 kB / 3.253 GB, free: 31.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/7.242, allocations: 27.98 kB / 3.253 GB, free: 31.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006855/7.243, allocations: 0.5459 MB / 3.253 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/7.243, allocations: 0 / 3.253 GB, free: 30.63 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001457/7.244, allocations: 408 kB / 3.254 GB, free: 30.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/7.246, allocations: 1.293 MB / 3.255 GB, free: 28.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001269/7.247, allocations: 0.7902 MB / 3.256 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/7.247, allocations: 0 / 3.256 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004613/7.248, allocations: 387.6 kB / 3.256 GB, free: 27.69 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/7.251, allocations: 0.5799 MB / 3.257 GB, free: 27.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/7.253, allocations: 2.136 MB / 3.259 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/7.254, allocations: 1.087 MB / 3.26 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009496/7.255, allocations: 215.5 kB / 3.26 GB, free: 23.58 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/7.255, allocations: 67.42 kB / 3.26 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/7.255, allocations: 0 / 3.26 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of Templates: time 0.462/7.717, allocations: 34.52 MB / 3.294 GB, free: 143.7 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)