Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7647/0.7647, allocations: 141.8 MB / 149.1 MB, free: 4.152 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.8 kB / 181.9 MB, free: 15.86 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.3 MB / 436 MB, free: 8.98 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 92.44 kB / 0.507 GB, free: 24.3 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001849/0.001849, allocations: 284.5 kB / 0.5885 GB, free: 11.99 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.307e-06/9.338e-06, allocations: 3.938 kB / 0.6759 GB, free: 2.371 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5432, allocations: 82.76 MB / 0.7567 GB, free: 112.6 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.725/5.268, allocations: 1.879 GB / 2.635 GB, free: 198.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/5.268, allocations: 87.89 kB / 2.635 GB, free: 198.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.081/7.349, allocations: 0.5757 GB / 3.211 GB, free: 146.6 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001435/7.35, allocations: 27.36 kB / 3.211 GB, free: 146.6 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003859/7.353, allocations: 1.23 MB / 3.212 GB, free: 145.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/7.354, allocations: 8.344 kB / 3.212 GB, free: 145.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003469/7.357, allocations: 451.5 kB / 3.213 GB, free: 145.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/7.36, allocations: 0.78 MB / 3.214 GB, free: 145 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/7.36, allocations: 110.2 kB / 3.214 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/7.36, allocations: 44.03 kB / 3.214 GB, free: 144.9 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001976/7.362, allocations: 0.6728 MB / 3.214 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/7.364, allocations: 0.7994 MB / 3.215 GB, free: 143.9 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/7.364, allocations: 3.938 kB / 3.215 GB, free: 143.9 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/7.365, allocations: 3.406 kB / 3.215 GB, free: 143.9 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/7.365, allocations: 33.98 kB / 3.215 GB, free: 143.9 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00693/7.372, allocations: 3.274 MB / 3.218 GB, free: 140.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000782/7.372, allocations: 422.5 kB / 3.219 GB, free: 140.1 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003923/7.373, allocations: 237.3 kB / 3.219 GB, free: 139.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/7.373, allocations: 102 kB / 3.219 GB, free: 139.8 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/7.373, allocations: 42.56 kB / 3.219 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=39): time 4.198e-06/7.373, allocations: 3.938 kB / 3.219 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of matching and sorting (n=41): time 0.005219/7.378, allocations: 1.45 MB / 3.221 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/7.378, allocations: 57.72 kB / 3.221 GB, free: 138.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007383/7.379, allocations: 0.5074 MB / 3.221 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/7.379, allocations: 25.7 kB / 3.221 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/7.38, allocations: 359 kB / 3.221 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/7.38, allocations: 144.3 kB / 3.222 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/7.38, allocations: 0 / 3.222 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001329/7.38, allocations: 382.6 kB / 3.222 GB, free: 136.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002895/7.38, allocations: 209.2 kB / 3.222 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/7.381, allocations: 321.2 kB / 3.222 GB, free: 136.2 MB / 0.6982 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.002565/7.383, allocations: 1.021 MB / 3.223 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/7.383, allocations: 0 / 3.223 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00206/7.385, allocations: 0.8148 MB / 3.224 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/7.385, allocations: 8 kB / 3.224 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/7.385, allocations: 0 / 3.224 GB, free: 134.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/7.386, allocations: 132.5 kB / 3.224 GB, free: 134.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/7.386, allocations: 142.9 kB / 3.225 GB, free: 134.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/7.388, allocations: 1.735 MB / 3.226 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/7.389, allocations: 80.38 kB / 3.226 GB, free: 132.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/7.39, allocations: 24.3 kB / 3.226 GB, free: 132.2 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0002138/7.39, allocations: 121.2 kB / 3.226 GB, free: 132.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/7.39, allocations: 75.16 kB / 3.226 GB, free: 132 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/7.39, allocations: 82.53 kB / 3.227 GB, free: 131.9 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/7.39, allocations: 4 kB / 3.227 GB, free: 131.9 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/7.39, allocations: 0 / 3.227 GB, free: 131.9 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001811/7.392, allocations: 0.7203 MB / 3.227 GB, free: 131.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/7.395, allocations: 1.691 MB / 3.229 GB, free: 129.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/7.395, allocations: 4 kB / 3.229 GB, free: 129.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/7.396, allocations: 125.5 kB / 3.229 GB, free: 129.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/7.396, allocations: 133 kB / 3.229 GB, free: 129.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/7.396, allocations: 11.64 kB / 3.229 GB, free: 129.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/7.398, allocations: 1.749 MB / 3.231 GB, free: 127.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/7.398, allocations: 7.625 kB / 3.231 GB, free: 127.3 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002456/7.401, allocations: 1.287 MB / 3.232 GB, free: 125.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004785/7.401, allocations: 216.2 kB / 3.232 GB, free: 125.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/7.402, allocations: 4 kB / 3.232 GB, free: 125.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/7.402, allocations: 89.11 kB / 3.232 GB, free: 125.6 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-05/7.403, allocations: 34.94 kB / 3.232 GB, free: 125.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.879e-05/7.403, allocations: 23.98 kB / 3.233 GB, free: 125.5 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005247/7.403, allocations: 399.1 kB / 3.233 GB, free: 125.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001575/7.405, allocations: 351.9 kB / 3.233 GB, free: 124.8 MB / 0.6982 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.002346/7.407, allocations: 1.52 MB / 3.235 GB, free: 123.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001057/7.408, allocations: 0.5879 MB / 3.235 GB, free: 123 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.408, allocations: 0 / 3.235 GB, free: 123 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004128/7.409, allocations: 340 kB / 3.236 GB, free: 122.7 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/7.41, allocations: 367.9 kB / 3.236 GB, free: 122.3 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/7.414, allocations: 1.416 MB / 3.237 GB, free: 120.9 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006921/7.415, allocations: 1.125 MB / 3.238 GB, free: 119.8 MB / 0.6982 GB Notification: Performance of SimCode: time 1.122e-06/7.415, allocations: 0 / 3.238 GB, free: 119.8 MB / 0.6982 GB Notification: Performance of Templates: time 0.03333/7.448, allocations: 22.77 MB / 3.261 GB, free: 97.49 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)