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 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.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.9337/0.9337, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001096/0.001096, allocations: 183.8 kB / 191.5 MB, free: 5.762 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.465/1.465, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.0008828/0.0008828, allocations: 108.2 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001815/0.001815, allocations: 266.7 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 22.12 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1704, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.508/4.678, allocations: 1.879 GB / 2.653 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/4.679, allocations: 95.39 kB / 2.653 GB, free: 198.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.336/6.015, allocations: 462.8 MB / 3.105 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/6.015, allocations: 0 / 3.105 GB, free: 21.56 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.183e-05/6.015, allocations: 24 kB / 3.105 GB, free: 21.54 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002732/6.018, allocations: 1.391 MB / 3.106 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/6.018, allocations: 8.031 kB / 3.106 GB, free: 20.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/6.019, allocations: 311.9 kB / 3.107 GB, free: 19.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/6.021, allocations: 0.8199 MB / 3.108 GB, free: 18.92 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/6.021, allocations: 66 kB / 3.108 GB, free: 18.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/6.021, allocations: 91.98 kB / 3.108 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/6.022, allocations: 0.9703 MB / 3.109 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/6.023, allocations: 0 / 3.109 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.441e-05/6.023, allocations: 40 kB / 3.109 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/6.023, allocations: 33.94 kB / 3.109 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/6.024, allocations: 0.8042 MB / 3.109 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/6.028, allocations: 3.463 MB / 3.113 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/6.029, allocations: 494.1 kB / 3.113 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/6.029, allocations: 113.5 kB / 3.113 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/6.029, allocations: 39 kB / 3.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/6.029, allocations: 0 / 3.113 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.003466/6.033, allocations: 1.869 MB / 3.115 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/6.033, allocations: 59.84 kB / 3.115 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007145/6.033, allocations: 0.6995 MB / 3.116 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/6.033, allocations: 37.7 kB / 3.116 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/6.034, allocations: 471.4 kB / 3.117 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/6.034, allocations: 177.5 kB / 3.117 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/6.034, allocations: 8 kB / 3.117 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/6.034, allocations: 334 kB / 3.117 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/6.034, allocations: 237.2 kB / 3.117 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/6.035, allocations: 364.7 kB / 3.118 GB, free: 8.152 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002566/6.037, allocations: 0.9784 MB / 3.119 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/6.037, allocations: 4 kB / 3.119 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001106/6.038, allocations: 0.7653 MB / 3.119 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/6.038, allocations: 8 kB / 3.119 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/6.038, allocations: 3.938 kB / 3.119 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/6.039, allocations: 93.66 kB / 3.119 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/6.039, allocations: 131.8 kB / 3.12 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/6.041, allocations: 2.977 MB / 3.122 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/6.042, allocations: 64.25 kB / 3.123 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/6.042, allocations: 31.92 kB / 3.123 GB, free: 2.801 MB / 0.7136 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.0006121/6.043, allocations: 293.6 kB / 3.123 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/6.043, allocations: 94.91 kB / 3.123 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/6.043, allocations: 104.4 kB / 3.123 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/6.043, allocations: 4 kB / 3.123 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/6.043, allocations: 0 / 3.123 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008762/6.044, allocations: 0.8271 MB / 3.124 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.455/6.499, allocations: 1.719 MB / 3.126 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/6.499, allocations: 3.312 kB / 3.126 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/6.5, allocations: 115.6 kB / 3.126 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002437/6.5, allocations: 69.55 kB / 3.126 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/6.5, allocations: 12.56 kB / 3.126 GB, free: 150.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/6.502, allocations: 1.611 MB / 3.127 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/6.502, allocations: 8.031 kB / 3.127 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/6.503, allocations: 1.201 MB / 3.128 GB, free: 149.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000536/6.504, allocations: 234.3 kB / 3.129 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/6.504, allocations: 12.91 kB / 3.129 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/6.505, allocations: 60.34 kB / 3.129 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/6.505, allocations: 52.95 kB / 3.129 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/6.505, allocations: 26.91 kB / 3.129 GB, free: 149.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007279/6.506, allocations: 0.5477 MB / 3.129 GB, free: 149 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/6.506, allocations: 3.219 kB / 3.129 GB, free: 149 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00147/6.507, allocations: 403.8 kB / 3.13 GB, free: 149 MB / 0.7136 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.001941/6.509, allocations: 1.266 MB / 3.131 GB, free: 148.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001305/6.51, allocations: 0.783 MB / 3.132 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/6.51, allocations: 0 / 3.132 GB, free: 148.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005024/6.511, allocations: 396.7 kB / 3.132 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/6.513, allocations: 0.5722 MB / 3.133 GB, free: 148.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/6.517, allocations: 2.149 MB / 3.135 GB, free: 147.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007053/6.517, allocations: 1.103 MB / 3.136 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001015/6.518, allocations: 208.5 kB / 3.136 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/6.519, allocations: 67.7 kB / 3.136 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/6.519, allocations: 0 / 3.136 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of Templates: time 0.05468/6.573, allocations: 33.92 MB / 3.169 GB, free: 146 MB / 0.7136 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)