Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 303.4 MB, free: 8.199 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.001006/0.001006, allocations: 174.5 kB / 372 MB, free: 10.3 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.717/1.717, allocations: 205.4 MB / 0.6307 GB, free: 10.04 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.0008132/0.0008134, allocations: 90.36 kB / 0.7441 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004033, allocations: 16.75 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2169, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7163/0.9332, allocations: 173.1 MB / 1.149 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009969/0.9433, allocations: 5.308 MB / 1.154 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.9459, allocations: 34.06 kB / 1.154 GB, free: 8.309 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.9482, allocations: 396 kB / 1.154 GB, free: 7.98 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.005411/0.9536, allocations: 1.193 MB / 1.155 GB, free: 7.047 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.9571, allocations: 0.8878 MB / 1.156 GB, free: 6.43 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004454/0.9615, allocations: 2.916 MB / 1.159 GB, free: 4.727 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.9629, allocations: 0.7001 MB / 1.16 GB, free: 4.316 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.9651, allocations: 0.8362 MB / 1.161 GB, free: 3.875 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.9667, allocations: 0.7788 MB / 1.161 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.9668, allocations: 39.94 kB / 1.161 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.9693, allocations: 0.9061 MB / 1.162 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.9699, allocations: 423.3 kB / 1.163 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.9703, allocations: 244.3 kB / 1.163 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.9723, allocations: 1.474 MB / 1.164 GB, free: 1.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9723, allocations: 4.688 kB / 1.164 GB, free: 1.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9723, allocations: 0 / 1.164 GB, free: 1.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.9724, allocations: 1.188 kB / 1.164 GB, free: 1.656 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002272/0.9746, allocations: 1.259 MB / 1.166 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9747, allocations: 13.03 kB / 1.166 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.9766, allocations: 340.4 kB / 1.166 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.978, allocations: 0.7383 MB / 1.167 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003717/0.9783, allocations: 130.9 kB / 1.167 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.9785, allocations: 88.44 kB / 1.167 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.9804, allocations: 1.062 MB / 1.168 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.9805, allocations: 5.812 kB / 1.168 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.054e-05/0.9805, allocations: 38.59 kB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.9806, allocations: 30.75 kB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.9822, allocations: 0.8406 MB / 1.169 GB, free: 14.79 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.005791/0.988, allocations: 4.057 MB / 1.173 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.9885, allocations: 383.9 kB / 1.173 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.9888, allocations: 210.9 kB / 1.173 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.989, allocations: 99.27 kB / 1.173 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.989, allocations: 40.41 kB / 1.173 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.124e-06/0.989, allocations: 0 / 1.173 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002533/0.9916, allocations: 1.325 MB / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.9916, allocations: 56.53 kB / 1.175 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.9929, allocations: 0.9815 MB / 1.176 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.9929, allocations: 32.52 kB / 1.176 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.9933, allocations: 491.4 kB / 1.176 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.9934, allocations: 139.1 kB / 1.176 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.9934, allocations: 10.94 kB / 1.176 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9936, allocations: 337.8 kB / 1.177 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.994, allocations: 236.4 kB / 1.177 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005757/0.9946, allocations: 422.6 kB / 1.177 GB, free: 8.137 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.001777/0.9964, allocations: 0.7287 MB / 1.178 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9964, allocations: 0 / 1.178 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001288/0.9977, allocations: 0.7481 MB / 1.179 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.9977, allocations: 7.938 kB / 1.179 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9977, allocations: 5.781 kB / 1.179 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.9978, allocations: 12.22 kB / 1.179 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.9983, allocations: 145.1 kB / 1.179 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.9983, allocations: 8.562 kB / 1.179 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.9994, allocations: 103.2 kB / 1.179 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.9995, allocations: 24.06 kB / 1.179 GB, free: 7.262 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: 22 * 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 (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004886/1, allocations: 315.1 kB / 1.179 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/1, allocations: 96.09 kB / 1.179 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/1, allocations: 101.7 kB / 1.18 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1, allocations: 4.938 kB / 1.18 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1, allocations: 0 / 1.18 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006212/1.001, allocations: 0.6772 MB / 1.18 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/1.003, allocations: 1.582 MB / 1.182 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.003, allocations: 9.094 kB / 1.182 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/1.004, allocations: 92.64 kB / 1.182 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/1.004, allocations: 5.094 kB / 1.182 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/1.004, allocations: 12.5 kB / 1.182 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/1.004, allocations: 5.875 kB / 1.182 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.004, allocations: 9.75 kB / 1.182 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/1.005, allocations: 0.8494 MB / 1.183 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003784/1.005, allocations: 233.9 kB / 1.183 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.005, allocations: 19.92 kB / 1.183 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/1.006, allocations: 59.12 kB / 1.183 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/1.006, allocations: 37.53 kB / 1.183 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/1.006, allocations: 26.92 kB / 1.183 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009656/1.007, allocations: 0.6971 MB / 1.184 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/1.007, allocations: 0 / 1.184 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008028/1.008, allocations: 256.5 kB / 1.184 GB, free: 3.824 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004422/1.008, allocations: 206 kB / 1.184 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008557/1.009, allocations: 0.4895 MB / 1.185 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.009, allocations: 4 kB / 1.185 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/1.009, allocations: 188.1 kB / 1.185 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.012, allocations: 0.5851 MB / 1.185 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/1.015, allocations: 2.162 MB / 1.188 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/1.016, allocations: 1.097 MB / 1.189 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009627/1.017, allocations: 238.7 kB / 1.189 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.017, allocations: 69.97 kB / 1.189 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of SimCode: time 1.372e-06/1.017, allocations: 0 / 1.189 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.02962/1.047, allocations: 18.36 MB / 1.207 GB, free: 1.473 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)