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.001194/0.001194, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.517/1.517, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.802/1.802, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001439/0.001439, allocations: 69.42 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2303, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7007/0.9311, allocations: 190.4 MB / 0.9693 GB, free: 316 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.9421, allocations: 5.647 MB / 0.9748 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.9449, allocations: 43.12 kB / 0.9749 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.947, allocations: 0.5708 MB / 0.9754 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.007229/0.9542, allocations: 1.817 MB / 0.9772 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.9587, allocations: 1.157 MB / 0.9783 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006117/0.9648, allocations: 2.936 MB / 0.9812 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.9672, allocations: 1.125 MB / 0.9823 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002745/0.9699, allocations: 1.044 MB / 0.9833 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.9723, allocations: 0.9651 MB / 0.9843 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.9726, allocations: 126.8 kB / 0.9844 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/0.9762, allocations: 1.442 MB / 0.9858 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006724/0.9769, allocations: 0.5716 MB / 0.9864 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009875/0.9779, allocations: 0.7156 MB / 0.9871 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003507/0.9814, allocations: 2.309 MB / 0.9893 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.9814, allocations: 0 / 0.9893 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9814, allocations: 0 / 0.9893 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.69e-05/0.9815, allocations: 0 / 0.9893 GB, free: 9.059 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002656/0.9841, allocations: 1.619 MB / 0.9909 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.9842, allocations: 11.81 kB / 0.9909 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.9862, allocations: 327.8 kB / 0.9912 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.9877, allocations: 0.8497 MB / 0.992 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.602e-05/0.9877, allocations: 76.23 kB / 0.9921 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.9879, allocations: 97.56 kB / 0.9922 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.9897, allocations: 1.091 MB / 0.9933 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.9897, allocations: 3.906 kB / 0.9933 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.9898, allocations: 44.19 kB / 0.9933 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.9899, allocations: 42.64 kB / 0.9934 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.9915, allocations: 0.9892 MB / 0.9943 GB, free: 5.891 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.006664/0.9981, allocations: 4.257 MB / 0.9985 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008808/0.999, allocations: 0.5912 MB / 0.9991 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005016/0.9996, allocations: 346.3 kB / 0.9994 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.9998, allocations: 106.2 kB / 0.9995 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.9998, allocations: 47.98 kB / 0.9995 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 2.876e-06/0.9998, allocations: 0 / 0.9995 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.004371/1.004, allocations: 2.192 MB / 1.002 GB, free: 440 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/1.004, allocations: 60.5 kB / 1.002 GB, free: 372 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.005, allocations: 0.8753 MB / 1.003 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/1.005, allocations: 38.92 kB / 1.003 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/1.006, allocations: 0.5119 MB / 1.003 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/1.006, allocations: 199.9 kB / 1.003 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/1.006, allocations: 132.6 kB / 1.003 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.006, allocations: 337.6 kB / 1.004 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/1.007, allocations: 280.4 kB / 1.004 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/1.008, allocations: 452.3 kB / 1.004 GB, free: 14.35 MB / 0.7481 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.004003/1.012, allocations: 1.737 MB / 1.006 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.012, allocations: 2.438 kB / 1.006 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001958/1.014, allocations: 0.9261 MB / 1.007 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/1.014, allocations: 7.938 kB / 1.007 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.014, allocations: 8.75 kB / 1.007 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002432/1.014, allocations: 103.8 kB / 1.007 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/1.015, allocations: 163 kB / 1.007 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/1.019, allocations: 4.643 MB / 1.012 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/1.021, allocations: 31.81 kB / 1.012 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.021, allocations: 28.59 kB / 1.012 GB, free: 8.133 MB / 0.7481 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.001052/1.022, allocations: 348.7 kB / 1.012 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/1.022, allocations: 100.9 kB / 1.012 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/1.023, allocations: 113.7 kB / 1.012 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/1.023, allocations: 4.781 kB / 1.012 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.023, allocations: 0 / 1.012 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001361/1.024, allocations: 0.7625 MB / 1.013 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/1.028, allocations: 1.99 MB / 1.015 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.028, allocations: 2.125 kB / 1.015 GB, free: 5.859 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006937/1.029, allocations: 151.2 kB / 1.015 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/1.029, allocations: 43.08 kB / 1.015 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/1.029, allocations: 15.75 kB / 1.015 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/1.03, allocations: 1.61 MB / 1.017 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.03, allocations: 5.562 kB / 1.017 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.032, allocations: 1.233 MB / 1.018 GB, free: 3.449 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/1.033, allocations: 250.3 kB / 1.018 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/1.033, allocations: 20.11 kB / 1.018 GB, free: 3.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009244/1.034, allocations: 26.83 kB / 1.018 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.034, allocations: 48.33 kB / 1.018 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.523e-05/1.034, allocations: 32.12 kB / 1.019 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00103/1.036, allocations: 0.6075 MB / 1.019 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.036, allocations: 0 / 1.019 GB, free: 2.844 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001479/1.037, allocations: 309.6 kB / 1.019 GB, free: 2.816 MB / 0.7481 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.0006866/1.038, allocations: 180.1 kB / 1.02 GB, free: 2.695 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002144/1.04, allocations: 1.124 MB / 1.021 GB, free: 2 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.04, allocations: 3.938 kB / 1.021 GB, free: 1.996 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/1.041, allocations: 448.5 kB / 1.021 GB, free: 1.727 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003186/1.044, allocations: 0.6492 MB / 1.022 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/1.048, allocations: 2.105 MB / 1.024 GB, free: 52 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/1.049, allocations: 1.169 MB / 1.025 GB, free: 15.12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001223/1.05, allocations: 251.9 kB / 1.025 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.05, allocations: 78.33 kB / 1.025 GB, free: 15 MB / 0.7637 GB Notification: Performance of SimCode: time 8.11e-07/1.05, allocations: 0 / 1.025 GB, free: 15 MB / 0.7637 GB Notification: Performance of Templates: time 0.04339/1.094, allocations: 22.31 MB / 1.047 GB, free: 9.656 MB / 0.7794 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)