Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.722/2.722, allocations: 287.5 MB / 302.4 MB, free: 8.254 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.001426/0.001426, allocations: 171 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.6297 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.0009148/0.0009146, allocations: 89.36 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005994, allocations: 11.59 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.223, allocations: 115.3 MB / 0.9784 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 1.003/1.226, allocations: 173.3 MB / 1.148 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01308/1.24, allocations: 5.322 MB / 1.153 GB, free: 8.684 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001859/1.241, allocations: 32.97 kB / 1.153 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002143/1.244, allocations: 399.5 kB / 1.153 GB, free: 8.449 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.006153/1.25, allocations: 1.196 MB / 1.154 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004993/1.255, allocations: 0.8923 MB / 1.155 GB, free: 7.094 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006092/1.261, allocations: 2.957 MB / 1.158 GB, free: 5.371 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/1.263, allocations: 0.7262 MB / 1.159 GB, free: 4.945 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/1.266, allocations: 0.8635 MB / 1.16 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002576/1.269, allocations: 0.8047 MB / 1.16 GB, free: 4.043 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004142/1.27, allocations: 43.19 kB / 1.16 GB, free: 4.043 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004415/1.274, allocations: 0.9215 MB / 1.161 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/1.275, allocations: 438.9 kB / 1.162 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008356/1.276, allocations: 249.6 kB / 1.162 GB, free: 3.164 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004098/1.28, allocations: 1.519 MB / 1.164 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.28, allocations: 0 / 1.164 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.916e-06/1.28, allocations: 0 / 1.164 GB, free: 2.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.659e-05/1.28, allocations: 0 / 1.164 GB, free: 2.199 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004335/1.285, allocations: 1.3 MB / 1.165 GB, free: 1.203 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/1.285, allocations: 10.12 kB / 1.165 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005464/1.29, allocations: 0.4963 MB / 1.165 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/1.295, allocations: 0.7831 MB / 1.166 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007092/1.295, allocations: 137.3 kB / 1.166 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/1.296, allocations: 88.67 kB / 1.166 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/1.301, allocations: 1.189 MB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.24e-05/1.301, allocations: 5.266 kB / 1.167 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/1.301, allocations: 36.53 kB / 1.167 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.628e-05/1.301, allocations: 37.42 kB / 1.168 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004884/1.306, allocations: 1.108 MB / 1.169 GB, free: 15.05 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.01383/1.32, allocations: 4.364 MB / 1.173 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/1.324, allocations: 0.793 MB / 1.174 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/1.325, allocations: 429.5 kB / 1.174 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/1.326, allocations: 98.84 kB / 1.174 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.326, allocations: 43.53 kB / 1.174 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/1.326, allocations: 0 / 1.174 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.01134/1.337, allocations: 2.28 MB / 1.176 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/1.337, allocations: 54.31 kB / 1.176 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/1.339, allocations: 0.8474 MB / 1.177 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/1.339, allocations: 39.95 kB / 1.177 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005519/1.34, allocations: 496.4 kB / 1.178 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/1.34, allocations: 163.8 kB / 1.178 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/1.34, allocations: 14.53 kB / 1.178 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001784/1.34, allocations: 327.8 kB / 1.178 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.342, allocations: 397.1 kB / 1.179 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/1.344, allocations: 0.5316 MB / 1.179 GB, free: 7.562 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.008268/1.353, allocations: 1.555 MB / 1.181 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.353, allocations: 0 / 1.181 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.004439/1.357, allocations: 1.02 MB / 1.182 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/1.357, allocations: 4.969 kB / 1.182 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.357, allocations: 5.719 kB / 1.182 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/1.357, allocations: 8.125 kB / 1.182 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.359, allocations: 218.8 kB / 1.182 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.497e-05/1.359, allocations: 8.578 kB / 1.182 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.362, allocations: 108.6 kB / 1.182 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.362, allocations: 27.17 kB / 1.182 GB, free: 6.191 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 (73): * Single equations (assignments): 73 * 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.000842/1.363, allocations: 309.9 kB / 1.182 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/1.363, allocations: 92.25 kB / 1.182 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/1.363, allocations: 107.1 kB / 1.183 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/1.363, allocations: 5.031 kB / 1.183 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.363, allocations: 0 / 1.183 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003675/1.367, allocations: 1.067 MB / 1.184 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/1.376, allocations: 2.206 MB / 1.186 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.376, allocations: 5.094 kB / 1.186 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001765/1.378, allocations: 187.7 kB / 1.186 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.949e-05/1.378, allocations: 13.08 kB / 1.186 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.654e-05/1.378, allocations: 15.89 kB / 1.186 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/1.378, allocations: 9.875 kB / 1.186 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.378, allocations: 7.25 kB / 1.186 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006036/1.384, allocations: 1.499 MB / 1.187 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009959/1.385, allocations: 251.5 kB / 1.188 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003047/1.385, allocations: 21.06 kB / 1.188 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.387, allocations: 113.9 kB / 1.188 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.388, allocations: 33.73 kB / 1.188 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001428/1.388, allocations: 27.14 kB / 1.188 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00128/1.389, allocations: 0.5978 MB / 1.188 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-07/1.389, allocations: 0 / 1.188 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00158/1.391, allocations: 263.5 kB / 1.189 GB, free: 2.031 MB / 0.7136 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 (45): * Single equations (assignments): 45 * 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.0007462/1.391, allocations: 211.1 kB / 1.189 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004043/1.396, allocations: 0.8467 MB / 1.19 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.396, allocations: 0 / 1.19 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001868/1.397, allocations: 412.3 kB / 1.19 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005271/1.403, allocations: 0.5561 MB / 1.191 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008761/1.412, allocations: 2.551 MB / 1.193 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.413, allocations: 1.103 MB / 1.194 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001864/1.415, allocations: 263.8 kB / 1.194 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/1.415, allocations: 71.42 kB / 1.195 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of SimCode: time 1.282e-06/1.415, allocations: 0 / 1.195 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.07714/1.492, allocations: 19.55 MB / 1.214 GB, free: 10.47 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)