Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.961/1.961, allocations: 287.5 MB / 302.6 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001314/0.001314, allocations: 186.9 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 109.5 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000663/0.0006631, allocations: 19.84 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2996, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7563/1.056, allocations: 173.3 MB / 1.148 GB, free: 10.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01391/1.07, allocations: 5.334 MB / 1.153 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/1.072, allocations: 29.91 kB / 1.153 GB, free: 8.578 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00215/1.074, allocations: 392 kB / 1.154 GB, free: 8.367 MB / 0.698 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.007398/1.082, allocations: 1.354 MB / 1.155 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004541/1.086, allocations: 0.841 MB / 1.156 GB, free: 6.91 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00596/1.092, allocations: 3.425 MB / 1.159 GB, free: 4.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/1.095, allocations: 0.9207 MB / 1.16 GB, free: 4.387 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003445/1.098, allocations: 0.8741 MB / 1.161 GB, free: 3.938 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/1.101, allocations: 0.92 MB / 1.162 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005052/1.101, allocations: 45.47 kB / 1.162 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/1.105, allocations: 0.7046 MB / 1.162 GB, free: 3.102 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001184/1.106, allocations: 0.4886 MB / 1.163 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/1.108, allocations: 278.8 kB / 1.163 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/1.112, allocations: 1.625 MB / 1.165 GB, free: 1.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.112, allocations: 1.281 kB / 1.165 GB, free: 1.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.112, allocations: 0 / 1.165 GB, free: 1.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.131e-05/1.112, allocations: 0 / 1.165 GB, free: 1.59 MB / 0.698 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.00352/1.115, allocations: 1.364 MB / 1.166 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.115, allocations: 13.22 kB / 1.166 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.117, allocations: 324 kB / 1.166 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/1.119, allocations: 0.8578 MB / 1.167 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/1.119, allocations: 75.91 kB / 1.167 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.12, allocations: 104.2 kB / 1.167 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.122, allocations: 1.085 MB / 1.168 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.122, allocations: 0 / 1.168 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.122, allocations: 43.34 kB / 1.168 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/1.122, allocations: 39.58 kB / 1.169 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/1.124, allocations: 0.9977 MB / 1.169 GB, free: 14.54 MB / 0.7136 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.007615/1.132, allocations: 4.247 MB / 1.174 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008843/1.133, allocations: 0.6028 MB / 1.174 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/1.133, allocations: 344.2 kB / 1.175 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/1.133, allocations: 113.7 kB / 1.175 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/1.133, allocations: 40.5 kB / 1.175 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 2.635e-06/1.133, allocations: 0 / 1.175 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.00449/1.138, allocations: 2.22 MB / 1.177 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/1.138, allocations: 61.91 kB / 1.177 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.139, allocations: 0.8648 MB / 1.178 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/1.139, allocations: 39.11 kB / 1.178 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/1.14, allocations: 0.5156 MB / 1.178 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/1.14, allocations: 193.9 kB / 1.178 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/1.14, allocations: 15.06 kB / 1.179 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.14, allocations: 333.5 kB / 1.179 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004649/1.14, allocations: 292.1 kB / 1.179 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005986/1.141, allocations: 450.3 kB / 1.18 GB, free: 7.012 MB / 0.7136 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.003843/1.145, allocations: 1.75 MB / 1.181 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.145, allocations: 2.125 kB / 1.181 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001681/1.147, allocations: 0.9225 MB / 1.182 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.147, allocations: 13 kB / 1.182 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.147, allocations: 3.094 kB / 1.182 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000227/1.147, allocations: 113 kB / 1.182 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007243/1.148, allocations: 169.8 kB / 1.182 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/1.151, allocations: 4.285 MB / 1.187 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/1.153, allocations: 80.02 kB / 1.187 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-05/1.153, allocations: 23.81 kB / 1.187 GB, free: 1.102 MB / 0.7136 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008287/1.154, allocations: 344.2 kB / 1.187 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.154, allocations: 97.94 kB / 1.187 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/1.154, allocations: 107.9 kB / 1.187 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.154, allocations: 13.23 kB / 1.187 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.154, allocations: 0 / 1.187 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/1.155, allocations: 0.7771 MB / 1.188 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/1.159, allocations: 1.981 MB / 1.19 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/1.159, allocations: 6.969 kB / 1.19 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/1.16, allocations: 160.4 kB / 1.19 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/1.16, allocations: 42.14 kB / 1.19 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/1.16, allocations: 20.78 kB / 1.19 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/1.161, allocations: 1.481 MB / 1.192 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.161, allocations: 6.906 kB / 1.192 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.163, allocations: 1.249 MB / 1.193 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/1.164, allocations: 254.4 kB / 1.193 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.164, allocations: 17.25 kB / 1.193 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/1.165, allocations: 82.03 kB / 1.193 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/1.165, allocations: 47.42 kB / 1.193 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/1.165, allocations: 26.86 kB / 1.193 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008629/1.166, allocations: 0.6062 MB / 1.194 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.166, allocations: 0 / 1.194 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00106/1.167, allocations: 303.3 kB / 1.194 GB, free: 11.87 MB / 0.7292 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 (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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004599/1.168, allocations: 191.7 kB / 1.194 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.169, allocations: 1.006 MB / 1.195 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.169, allocations: 2.938 kB / 1.195 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006915/1.17, allocations: 457.9 kB / 1.196 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.173, allocations: 0.6266 MB / 1.196 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/1.177, allocations: 2.48 MB / 1.199 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009097/1.178, allocations: 1.17 MB / 1.2 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009838/1.179, allocations: 248.4 kB / 1.2 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/1.179, allocations: 79.42 kB / 1.2 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of SimCode: time 9.31e-07/1.179, allocations: 0 / 1.2 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of Templates: time 0.03547/1.214, allocations: 20.62 MB / 1.22 GB, free: 3.086 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)