Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.872/1.872, allocations: 287.5 MB / 302.6 MB, free: 8.34 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.001239/0.001238, allocations: 187.4 kB / 371.2 MB, free: 10.82 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.633/1.633, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.00077/0.0007699, allocations: 96.72 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000422/0.0004221, allocations: 17.12 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2148, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.6819/0.8968, allocations: 173.1 MB / 1.148 GB, free: 10.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00983/0.9067, allocations: 5.306 MB / 1.153 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001463/0.9082, allocations: 29.66 kB / 1.153 GB, free: 8.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.9095, allocations: 393.5 kB / 1.153 GB, free: 8.523 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.004906/0.9144, allocations: 1.191 MB / 1.154 GB, free: 7.789 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.9175, allocations: 0.8837 MB / 1.155 GB, free: 7.176 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004211/0.9217, allocations: 2.932 MB / 1.158 GB, free: 5.465 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.9232, allocations: 0.815 MB / 1.159 GB, free: 4.996 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.9254, allocations: 0.8441 MB / 1.16 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.9269, allocations: 0.7714 MB / 1.161 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.9271, allocations: 40.47 kB / 1.161 GB, free: 4.129 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.9306, allocations: 0.9018 MB / 1.162 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006658/0.9312, allocations: 426.7 kB / 1.162 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000473/0.9317, allocations: 248.4 kB / 1.162 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.9341, allocations: 1.474 MB / 1.164 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.9341, allocations: 1.375 kB / 1.164 GB, free: 2.336 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9341, allocations: 0 / 1.164 GB, free: 2.336 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.9342, allocations: 0 / 1.164 GB, free: 2.336 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.002327/0.9365, allocations: 1.249 MB / 1.165 GB, free: 1.355 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.9365, allocations: 13.44 kB / 1.165 GB, free: 1.352 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.9384, allocations: 340.1 kB / 1.165 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.9396, allocations: 0.7688 MB / 1.166 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/0.9399, allocations: 127.2 kB / 1.166 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.9401, allocations: 89.19 kB / 1.166 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.9419, allocations: 1.073 MB / 1.167 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.9419, allocations: 0 / 1.167 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.482e-05/0.942, allocations: 38.53 kB / 1.167 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.9421, allocations: 32.09 kB / 1.167 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.9437, allocations: 0.8443 MB / 1.168 GB, free: 15.44 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.005599/0.9493, allocations: 4.053 MB / 1.172 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.95, allocations: 384.7 kB / 1.172 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.9503, allocations: 213.4 kB / 1.173 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.9505, allocations: 105.8 kB / 1.173 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.9505, allocations: 41.81 kB / 1.173 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/0.9505, allocations: 0 / 1.173 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38): time 0.002499/0.953, allocations: 1.324 MB / 1.174 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.9531, allocations: 69.03 kB / 1.174 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.9544, allocations: 0.9815 MB / 1.175 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.9544, allocations: 32.17 kB / 1.175 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/0.9548, allocations: 496.2 kB / 1.176 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.9549, allocations: 137.2 kB / 1.176 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.955, allocations: 8 kB / 1.176 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.9551, allocations: 330.2 kB / 1.176 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.9555, allocations: 234.2 kB / 1.176 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.9561, allocations: 417.5 kB / 1.177 GB, free: 8.781 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.002329/0.9584, allocations: 1.202 MB / 1.178 GB, free: 8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.9585, allocations: 0 / 1.178 GB, free: 8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001369/0.9598, allocations: 0.7647 MB / 1.179 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9599, allocations: 7.938 kB / 1.179 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.9599, allocations: 9.062 kB / 1.179 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.9599, allocations: 8.781 kB / 1.179 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.9605, allocations: 138.5 kB / 1.179 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.9605, allocations: 16.28 kB / 1.179 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.9615, allocations: 87.56 kB / 1.179 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.9616, allocations: 31.95 kB / 1.179 GB, free: 7.52 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.0005285/0.9621, allocations: 312.8 kB / 1.179 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.9623, allocations: 96.12 kB / 1.179 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.9625, allocations: 105.8 kB / 1.179 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9625, allocations: 2.969 kB / 1.179 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9625, allocations: 0 / 1.179 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006939/0.9632, allocations: 0.6712 MB / 1.18 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.9655, allocations: 1.572 MB / 1.182 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9656, allocations: 3.094 kB / 1.182 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.966, allocations: 87.8 kB / 1.182 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.966, allocations: 6.531 kB / 1.182 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.966, allocations: 19.89 kB / 1.182 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.966, allocations: 13.34 kB / 1.182 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.966, allocations: 5.344 kB / 1.182 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009767/0.967, allocations: 0.8433 MB / 1.182 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/0.9674, allocations: 236.3 kB / 1.183 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.9675, allocations: 15.75 kB / 1.183 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.9682, allocations: 66.08 kB / 1.183 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.9682, allocations: 39.86 kB / 1.183 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-05/0.9683, allocations: 28.67 kB / 1.183 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009318/0.9692, allocations: 0.6932 MB / 1.184 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9692, allocations: 4 kB / 1.184 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000813/0.9701, allocations: 256.6 kB / 1.184 GB, free: 4.094 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.0004272/0.9705, allocations: 207.2 kB / 1.184 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008672/0.9714, allocations: 490.3 kB / 1.184 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.9714, allocations: 1.75 kB / 1.184 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.9717, allocations: 191 kB / 1.185 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/0.9746, allocations: 0.6081 MB / 1.185 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.9774, allocations: 2.16 MB / 1.187 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007011/0.9781, allocations: 1.092 MB / 1.188 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008796/0.979, allocations: 242.4 kB / 1.189 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.9792, allocations: 74.52 kB / 1.189 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9792, allocations: 0 / 1.189 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of Templates: time 0.03113/1.01, allocations: 18.7 MB / 1.207 GB, free: 1.297 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)