Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008709/0.000871, allocations: 91.3 kB / 15.06 MB, free: 1.098 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.00104/0.00104, allocations: 172.7 kB / 15.95 MB, free: 208 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.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 252 MB / 0.5102 GB, free: 4.746 MB / 414.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.0005452/0.0005453, allocations: 20 kB / 0.6243 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5797/0.5803, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2006/0.781, allocations: 173.4 MB / 0.8975 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00989/0.7909, allocations: 5.448 MB / 0.9028 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.7928, allocations: 31.75 kB / 0.9028 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.7944, allocations: 409.5 kB / 0.9032 GB, free: 7.578 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.004501/0.7989, allocations: 1.295 MB / 0.9045 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/0.802, allocations: 0.8975 MB / 0.9054 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004197/0.8062, allocations: 3.104 MB / 0.9084 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.8076, allocations: 0.7365 MB / 0.9091 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.8098, allocations: 0.8559 MB / 0.9099 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5547/1.365, allocations: 0.8141 MB / 0.9107 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005155/1.365, allocations: 43.56 kB / 0.9108 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/1.369, allocations: 0.9015 MB / 0.9117 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/1.37, allocations: 449.5 kB / 0.9121 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007674/1.371, allocations: 257.1 kB / 0.9123 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003547/1.374, allocations: 1.529 MB / 0.9138 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.374, allocations: 1.25 kB / 0.9138 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/1.374, allocations: 3.812 kB / 0.9138 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.503e-05/1.374, allocations: 0 / 0.9138 GB, free: 7.012 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003304/1.377, allocations: 1.275 MB / 0.9151 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.378, allocations: 9.5 kB / 0.9151 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002351/1.38, allocations: 331.3 kB / 0.9154 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/1.382, allocations: 0.7549 MB / 0.9161 GB, free: 21.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003658/1.383, allocations: 133.7 kB / 0.9163 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/1.383, allocations: 91.64 kB / 0.9164 GB, free: 21.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/1.385, allocations: 1.086 MB / 0.9174 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/1.385, allocations: 0.625 kB / 0.9174 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.385, allocations: 40.42 kB / 0.9175 GB, free: 21.76 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.506e-05/1.386, allocations: 41.23 kB / 0.9175 GB, free: 21.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/1.387, allocations: 0.8385 MB / 0.9183 GB, free: 21.74 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.007819/1.395, allocations: 4.082 MB / 0.9223 GB, free: 19.74 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/1.396, allocations: 357.2 kB / 0.9226 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003928/1.396, allocations: 215.3 kB / 0.9228 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/1.397, allocations: 99.31 kB / 0.9229 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.397, allocations: 44.12 kB / 0.923 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 3.407e-06/1.397, allocations: 0.9062 kB / 0.923 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.00322/1.4, allocations: 1.317 MB / 0.9243 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/1.4, allocations: 54.94 kB / 0.9243 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/1.402, allocations: 1.006 MB / 0.9253 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/1.402, allocations: 37.05 kB / 0.9253 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/1.402, allocations: 492.1 kB / 0.9258 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/1.402, allocations: 145.7 kB / 0.926 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/1.402, allocations: 9.844 kB / 0.926 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.403, allocations: 328.3 kB / 0.9263 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/1.403, allocations: 236 kB / 0.9265 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/1.404, allocations: 423.4 kB / 0.9269 GB, free: 18.05 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.001575/1.405, allocations: 0.6929 MB / 0.9276 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.405, allocations: 3.469 kB / 0.9276 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001405/1.407, allocations: 0.7499 MB / 0.9283 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/1.407, allocations: 9.594 kB / 0.9283 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.407, allocations: 3.062 kB / 0.9283 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/1.407, allocations: 9.062 kB / 0.9283 GB, free: 17.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/1.407, allocations: 154.5 kB / 0.9285 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.407, allocations: 13.75 kB / 0.9285 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.409, allocations: 95.03 kB / 0.9286 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/1.409, allocations: 31.61 kB / 0.9286 GB, free: 17.81 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: 24 * 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.0007269/1.409, allocations: 314 kB / 0.9289 GB, free: 17.69 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/1.41, allocations: 96.78 kB / 0.929 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/1.41, allocations: 107.8 kB / 0.9291 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.41, allocations: 3.406 kB / 0.9291 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.41, allocations: 6.078 kB / 0.9291 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006917/1.41, allocations: 0.6745 MB / 0.9298 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002794/1.413, allocations: 1.586 MB / 0.9313 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/1.413, allocations: 6.312 kB / 0.9313 GB, free: 16.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/1.414, allocations: 88.28 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/1.414, allocations: 10.95 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/1.414, allocations: 10.12 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.414, allocations: 10.78 kB / 0.9314 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.414, allocations: 9.188 kB / 0.9315 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/1.415, allocations: 0.8403 MB / 0.9323 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005571/1.415, allocations: 250.7 kB / 0.9325 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/1.416, allocations: 13.59 kB / 0.9325 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/1.416, allocations: 69.58 kB / 0.9326 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/1.416, allocations: 40.92 kB / 0.9326 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.26e-05/1.416, allocations: 29.83 kB / 0.9327 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001036/1.417, allocations: 0.7139 MB / 0.9334 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.61e-07/1.417, allocations: 2.906 kB / 0.9334 GB, free: 16.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001074/1.419, allocations: 253.6 kB / 0.9336 GB, free: 16.13 MB / 0.7325 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.0005592/1.419, allocations: 195 kB / 0.9338 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009574/1.42, allocations: 497.3 kB / 0.9343 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.42, allocations: 0.9375 kB / 0.9343 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002399/1.42, allocations: 192.3 kB / 0.9344 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002766/1.423, allocations: 0.6054 MB / 0.935 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003054/1.426, allocations: 2.195 MB / 0.9372 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007374/1.427, allocations: 1.112 MB / 0.9383 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001256/1.428, allocations: 240 kB / 0.9385 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/1.428, allocations: 71.41 kB / 0.9386 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of SimCode: time 1.963e-06/1.428, allocations: 0 / 0.9386 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.03218/1.461, allocations: 18.68 MB / 0.9568 GB, free: 11 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: