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") [: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.8104/0.8104, allocations: 141.8 MB / 149.1 MB, free: 0.5469 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.001301/0.001302, allocations: 181 kB / 182 MB, free: 12.76 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.483/1.483, allocations: 221.4 MB / 436.1 MB, free: 5.488 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.0009938/0.000994, allocations: 99.66 kB / 0.507 GB, free: 19.14 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001982/0.001982, allocations: 285.3 kB / 0.5885 GB, free: 6.672 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.786e-06/8.796e-06, allocations: 1.031 kB / 0.6759 GB, free: 139.9 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 82.79 MB / 0.7567 GB, free: 88.62 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.715/4.93, allocations: 1.879 GB / 2.635 GB, free: 136.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/4.93, allocations: 89.44 kB / 2.635 GB, free: 136.5 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.704/6.635, allocations: 461.7 MB / 3.086 GB, free: 153.2 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.000131/6.635, allocations: 24.59 kB / 3.086 GB, free: 153.2 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003719/6.639, allocations: 1.245 MB / 3.088 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/6.639, allocations: 10.34 kB / 3.088 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/6.641, allocations: 329.2 kB / 3.088 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/6.644, allocations: 0.8387 MB / 3.089 GB, free: 152.3 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/6.644, allocations: 26.22 kB / 3.089 GB, free: 152.3 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/6.644, allocations: 56.53 kB / 3.089 GB, free: 152.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00155/6.645, allocations: 0.7259 MB / 3.089 GB, free: 152.3 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/6.647, allocations: 0.8431 MB / 3.09 GB, free: 152.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/6.647, allocations: 0 / 3.09 GB, free: 152.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/6.647, allocations: 3.844 kB / 3.09 GB, free: 152.2 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/6.647, allocations: 28.28 kB / 3.09 GB, free: 152.2 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006846/6.654, allocations: 3.302 MB / 3.094 GB, free: 151 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007863/6.655, allocations: 460.9 kB / 3.094 GB, free: 151 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/6.655, allocations: 252.8 kB / 3.094 GB, free: 151 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/6.656, allocations: 103.3 kB / 3.094 GB, free: 150.9 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/6.656, allocations: 48.12 kB / 3.094 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=47): time 3.837e-06/6.656, allocations: 0 / 3.094 GB, free: 150.8 MB / 0.6982 GB Notification: Performance of matching and sorting (n=49): time 0.003684/6.659, allocations: 1.351 MB / 3.096 GB, free: 150.4 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/6.659, allocations: 55.62 kB / 3.096 GB, free: 150.3 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007911/6.66, allocations: 0.5174 MB / 3.096 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.143e-05/6.66, allocations: 25.7 kB / 3.096 GB, free: 150.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/6.66, allocations: 390.5 kB / 3.097 GB, free: 150 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/6.661, allocations: 166.3 kB / 3.097 GB, free: 149.9 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/6.661, allocations: 0 / 3.097 GB, free: 149.9 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001446/6.661, allocations: 376.9 kB / 3.097 GB, free: 149.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/6.661, allocations: 210.9 kB / 3.097 GB, free: 149.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/6.662, allocations: 331.4 kB / 3.098 GB, free: 149.5 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.00275/6.664, allocations: 0.947 MB / 3.099 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/6.664, allocations: 3.812 kB / 3.099 GB, free: 149.4 MB / 0.6982 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001267/6.666, allocations: 0.6944 MB / 3.099 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/6.666, allocations: 7.031 kB / 3.099 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/6.666, allocations: 2.969 kB / 3.099 GB, free: 149.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003321/6.666, allocations: 98.97 kB / 3.099 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006042/6.667, allocations: 130.4 kB / 3.099 GB, free: 149.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/6.669, allocations: 2.785 MB / 3.102 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/6.67, allocations: 44.39 kB / 3.102 GB, free: 146.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/6.67, allocations: 21.25 kB / 3.102 GB, free: 146.9 MB / 0.6982 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: 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 () * 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.0002155/6.67, allocations: 125.6 kB / 3.102 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/6.67, allocations: 74.44 kB / 3.102 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/6.671, allocations: 92.83 kB / 3.103 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/6.671, allocations: 3.781 kB / 3.103 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/6.671, allocations: 7.531 kB / 3.103 GB, free: 146.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009001/6.672, allocations: 0.7924 MB / 3.103 GB, free: 146.2 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/6.675, allocations: 1.591 MB / 3.105 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/6.675, allocations: 0 / 3.105 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005756/6.675, allocations: 116.3 kB / 3.105 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002428/6.675, allocations: 63.11 kB / 3.105 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/6.676, allocations: 10.25 kB / 3.105 GB, free: 145.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/6.677, allocations: 1.506 MB / 3.107 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/6.677, allocations: 5.219 kB / 3.107 GB, free: 144.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001616/6.679, allocations: 1.138 MB / 3.108 GB, free: 144.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/6.679, allocations: 217.4 kB / 3.108 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/6.679, allocations: 11.38 kB / 3.108 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/6.68, allocations: 52.66 kB / 3.108 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/6.68, allocations: 35.8 kB / 3.108 GB, free: 144 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/6.68, allocations: 28.98 kB / 3.108 GB, free: 144 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0005196/6.681, allocations: 403.8 kB / 3.108 GB, free: 143.9 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001605/6.683, allocations: 364.9 kB / 3.109 GB, free: 143.9 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 (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.0024/6.685, allocations: 1.434 MB / 3.11 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.00119/6.686, allocations: 0.6916 MB / 3.111 GB, free: 143.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/6.686, allocations: 6.875 kB / 3.111 GB, free: 143.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/6.687, allocations: 350.2 kB / 3.111 GB, free: 143.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/6.689, allocations: 437.4 kB / 3.112 GB, free: 143.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/6.692, allocations: 1.324 MB / 3.113 GB, free: 142.8 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009729/6.693, allocations: 1.167 MB / 3.114 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of SimCode: time 1.042e-06/6.693, allocations: 0 / 3.114 GB, free: 142.1 MB / 0.6982 GB Notification: Performance of Templates: time 0.04246/6.736, allocations: 22.88 MB / 3.136 GB, free: 141.2 MB / 0.6982 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)