Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 106.8 kB / 16.36 MB, free: 6.016 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.001471/0.001471, allocations: 195.8 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.822/1.822, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001499/0.0015, allocations: 75.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2495, allocations: 114.5 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.6663/0.9159, allocations: 190.4 MB / 0.9708 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.9264, allocations: 5.652 MB / 0.9763 GB, free: 5.871 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.9281, allocations: 41.72 kB / 0.9763 GB, free: 5.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.9298, allocations: 0.563 MB / 0.9769 GB, free: 5.266 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.9348, allocations: 1.816 MB / 0.9786 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.9382, allocations: 1.178 MB / 0.9798 GB, free: 2.273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004474/0.9427, allocations: 2.915 MB / 0.9826 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.9445, allocations: 1.133 MB / 0.9837 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.9466, allocations: 1.047 MB / 0.9848 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.9488, allocations: 0.9637 MB / 0.9857 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.949, allocations: 124 kB / 0.9858 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.9523, allocations: 1.446 MB / 0.9872 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006355/0.9529, allocations: 0.5689 MB / 0.9878 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.9538, allocations: 0.7312 MB / 0.9885 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.9575, allocations: 2.329 MB / 0.9908 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9575, allocations: 4 kB / 0.9908 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9575, allocations: 2.906 kB / 0.9908 GB, free: 6.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.9576, allocations: 0 / 0.9908 GB, free: 6.98 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.003/0.9606, allocations: 1.621 MB / 0.9924 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.9606, allocations: 8.031 kB / 0.9924 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.9628, allocations: 331.1 kB / 0.9927 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.9645, allocations: 0.8629 MB / 0.9935 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/0.9646, allocations: 74 kB / 0.9936 GB, free: 4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.9647, allocations: 96 kB / 0.9937 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.9667, allocations: 1.089 MB / 0.9948 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.9667, allocations: 0 / 0.9948 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9668, allocations: 44 kB / 0.9948 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.9669, allocations: 45.92 kB / 0.9948 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.9687, allocations: 0.9915 MB / 0.9958 GB, free: 1.73 MB / 0.7794 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.006798/0.9755, allocations: 4.204 MB / 0.9999 GB, free: 13.23 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.9764, allocations: 0.5928 MB / 1 GB, free: 12.63 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005648/0.977, allocations: 342.5 kB / 1.001 GB, free: 12.29 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.9773, allocations: 101.5 kB / 1.001 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.9773, allocations: 46.94 kB / 1.001 GB, free: 12.12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.475e-06/0.9773, allocations: 0 / 1.001 GB, free: 12.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=55): time 0.004114/0.9814, allocations: 2.197 MB / 1.003 GB, free: 9.805 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.9815, allocations: 59.91 kB / 1.003 GB, free: 9.734 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.9826, allocations: 0.8764 MB / 1.004 GB, free: 8.852 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.9827, allocations: 37.7 kB / 1.004 GB, free: 8.809 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.9831, allocations: 0.5223 MB / 1.005 GB, free: 8.277 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.9832, allocations: 193.1 kB / 1.005 GB, free: 8.086 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.9835, allocations: 134.6 kB / 1.005 GB, free: 7.949 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.9836, allocations: 337.9 kB / 1.005 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.9841, allocations: 277.8 kB / 1.005 GB, free: 7.344 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.9847, allocations: 454.6 kB / 1.006 GB, free: 6.84 MB / 0.795 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.003913/0.9886, allocations: 1.729 MB / 1.008 GB, free: 5.043 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.9887, allocations: 2.438 kB / 1.008 GB, free: 5.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001635/0.9903, allocations: 0.9257 MB / 1.008 GB, free: 4.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.9903, allocations: 8.5 kB / 1.009 GB, free: 4.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9904, allocations: 8 kB / 1.009 GB, free: 4.082 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.9906, allocations: 98.48 kB / 1.009 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.9913, allocations: 163.8 kB / 1.009 GB, free: 3.816 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/0.995, allocations: 4.634 MB / 1.013 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009685/0.996, allocations: 32.67 kB / 1.013 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.9961, allocations: 24 kB / 1.013 GB, free: 14.71 MB / 0.8106 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005902/0.9967, allocations: 349.6 kB / 1.014 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.9969, allocations: 102.8 kB / 1.014 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.9971, allocations: 113.1 kB / 1.014 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9971, allocations: 4 kB / 1.014 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9971, allocations: 0 / 1.014 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001156/0.9983, allocations: 0.7653 MB / 1.015 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/1.002, allocations: 1.989 MB / 1.017 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/1.002, allocations: 4 kB / 1.017 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/1.002, allocations: 152.2 kB / 1.017 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/1.002, allocations: 40.84 kB / 1.017 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/1.002, allocations: 19.98 kB / 1.017 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/1.004, allocations: 1.607 MB / 1.018 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.004, allocations: 4 kB / 1.018 GB, free: 9.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.006, allocations: 1.227 MB / 1.02 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/1.006, allocations: 259.8 kB / 1.02 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.006, allocations: 8.562 kB / 1.02 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/1.007, allocations: 46.95 kB / 1.02 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/1.007, allocations: 47.83 kB / 1.02 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/1.007, allocations: 35.97 kB / 1.02 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000798/1.008, allocations: 0.6044 MB / 1.021 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/1.008, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009518/1.009, allocations: 304.7 kB / 1.021 GB, free: 6.684 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004341/1.009, allocations: 193.2 kB / 1.021 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001592/1.011, allocations: 1.012 MB / 1.022 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.011, allocations: 1.875 kB / 1.022 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006336/1.012, allocations: 451.5 kB / 1.022 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002611/1.014, allocations: 0.6428 MB / 1.023 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003101/1.017, allocations: 2.079 MB / 1.025 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/1.018, allocations: 1.17 MB / 1.026 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000774/1.019, allocations: 258.9 kB / 1.026 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/1.019, allocations: 75.44 kB / 1.027 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of SimCode: time 2.825e-06/1.019, allocations: 0 / 1.027 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of Templates: time 0.0369/1.056, allocations: 22.3 MB / 1.048 GB, free: 10.88 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)