Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009622, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004914, allocations: 17.66 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2366, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6698/0.9064, allocations: 173.4 MB / 0.9566 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009435/0.9159, allocations: 5.356 MB / 0.9618 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.9178, allocations: 37.25 kB / 0.9619 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.9194, allocations: 398 kB / 0.9622 GB, free: 4.773 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005411/0.9248, allocations: 1.362 MB / 0.9636 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.9282, allocations: 0.8384 MB / 0.9644 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005737/0.9339, allocations: 3.422 MB / 0.9677 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001393/0.9353, allocations: 0.7071 MB / 0.9684 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.9376, allocations: 0.8835 MB / 0.9693 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.9392, allocations: 0.8665 MB / 0.9701 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.9393, allocations: 43.61 kB / 0.9702 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.9419, allocations: 0.701 MB / 0.9709 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004937/0.9424, allocations: 381.5 kB / 0.9712 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006622/0.9431, allocations: 259.9 kB / 0.9715 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.9452, allocations: 1.471 MB / 0.9729 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.9452, allocations: 0 / 0.9729 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.246e-06/0.9452, allocations: 2.484 kB / 0.9729 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.9453, allocations: 4 kB / 0.9729 GB, free: 19.11 MB / 0.7325 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.002386/0.9477, allocations: 1.291 MB / 0.9742 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.9477, allocations: 11.8 kB / 0.9742 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.9496, allocations: 320.6 kB / 0.9745 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.9509, allocations: 0.77 MB / 0.9752 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.807e-05/0.9509, allocations: 62.97 kB / 0.9753 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.951, allocations: 84.41 kB / 0.9754 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.9527, allocations: 0.9083 MB / 0.9763 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.9527, allocations: 1.859 kB / 0.9763 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.594e-05/0.9528, allocations: 37.38 kB / 0.9763 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.9529, allocations: 34.5 kB / 0.9763 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.9542, allocations: 0.8394 MB / 0.9772 GB, free: 17.76 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.9592, allocations: 3.525 MB / 0.9806 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.9599, allocations: 0.5 MB / 0.9811 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003954/0.9603, allocations: 296.8 kB / 0.9814 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.9605, allocations: 104.6 kB / 0.9815 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.9606, allocations: 39.69 kB / 0.9815 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.826e-06/0.9606, allocations: 4 kB / 0.9815 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.003743/0.9643, allocations: 1.929 MB / 0.9834 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.9644, allocations: 62.19 kB / 0.9835 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.9653, allocations: 0.7901 MB / 0.9842 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/0.9653, allocations: 39.05 kB / 0.9843 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002967/0.9656, allocations: 477.1 kB / 0.9847 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.9658, allocations: 172.5 kB / 0.9849 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.9658, allocations: 12.59 kB / 0.9849 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9659, allocations: 330.6 kB / 0.9852 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.9663, allocations: 240.6 kB / 0.9854 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.9668, allocations: 368.8 kB / 0.9858 GB, free: 13.39 MB / 0.7325 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.002537/0.9693, allocations: 1.007 MB / 0.9868 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.9693, allocations: 3.953 kB / 0.9868 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001378/0.9707, allocations: 0.7848 MB / 0.9876 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.9708, allocations: 6.469 kB / 0.9876 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.9708, allocations: 2.125 kB / 0.9876 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.9711, allocations: 96.09 kB / 0.9877 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.9717, allocations: 157.6 kB / 0.9878 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/0.9744, allocations: 3.043 MB / 0.9908 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.9754, allocations: 59.67 kB / 0.9908 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/0.9755, allocations: 27.78 kB / 0.9909 GB, free: 10.09 MB / 0.7325 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.0006309/0.9762, allocations: 303.9 kB / 0.9911 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.9763, allocations: 96.44 kB / 0.9912 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.9765, allocations: 96.91 kB / 0.9913 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.9765, allocations: 13.83 kB / 0.9913 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.9765, allocations: 5.859 kB / 0.9913 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009979/0.9775, allocations: 0.8492 MB / 0.9922 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.9803, allocations: 1.802 MB / 0.9939 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9803, allocations: 6.578 kB / 0.9939 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.9809, allocations: 145.6 kB / 0.9941 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002066/0.9811, allocations: 64.34 kB / 0.9941 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.9811, allocations: 14.78 kB / 0.9942 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.9826, allocations: 1.641 MB / 0.9958 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.9826, allocations: 9.219 kB / 0.9958 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.984, allocations: 1.103 MB / 0.9968 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005306/0.9846, allocations: 234.1 kB / 0.9971 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.9847, allocations: 12.81 kB / 0.9971 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006946/0.9854, allocations: 77.39 kB / 0.9972 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9855, allocations: 46.91 kB / 0.9972 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.9856, allocations: 30.33 kB / 0.9972 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006235/0.9862, allocations: 0.5497 MB / 0.9978 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9862, allocations: 0 / 0.9978 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001057/0.9873, allocations: 288.5 kB / 0.998 GB, free: 6.27 MB / 0.7325 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.0005745/0.9879, allocations: 183.6 kB / 0.9982 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.9892, allocations: 0.8099 MB / 0.999 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9893, allocations: 0 / 0.999 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/0.9898, allocations: 420.2 kB / 0.9994 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002568/0.9924, allocations: 0.5827 MB / 1 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.9957, allocations: 2.138 MB / 1.002 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.9964, allocations: 1.083 MB / 1.003 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.9973, allocations: 208.8 kB / 1.003 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.9975, allocations: 69.14 kB / 1.003 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of SimCode: time 4.8e-07/0.9975, allocations: 2.906 kB / 1.003 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of Templates: time 0.03287/1.03, allocations: 18.98 MB / 1.022 GB, free: 8.477 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) Environment - environmentSimulation: