Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.648/1.648, allocations: 288.4 MB / 303.6 MB, free: 8.066 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.001021/0.001021, allocations: 176.5 kB / 372.3 MB, free: 10.1 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.331/1.331, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0007144/0.0007143, allocations: 101 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 11.47 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1734, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5453/0.7188, allocations: 173.3 MB / 1.149 GB, free: 11 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008058/0.7269, allocations: 5.335 MB / 1.155 GB, free: 7.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.7282, allocations: 32.97 kB / 1.155 GB, free: 7.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.7296, allocations: 453.5 kB / 1.155 GB, free: 7.34 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.003833/0.7335, allocations: 1.406 MB / 1.156 GB, free: 6.266 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00284/0.7363, allocations: 0.9433 MB / 1.157 GB, free: 5.613 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.7399, allocations: 2.974 MB / 1.16 GB, free: 3.879 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.7412, allocations: 0.8538 MB / 1.161 GB, free: 3.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.7432, allocations: 0.8624 MB / 1.162 GB, free: 2.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.745, allocations: 0.8076 MB / 1.163 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.7452, allocations: 43.16 kB / 1.163 GB, free: 2.484 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003267/0.7485, allocations: 1.686 MB / 1.164 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.7492, allocations: 436.1 kB / 1.165 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.7503, allocations: 0.5576 MB / 1.165 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002183/0.7525, allocations: 1.587 MB / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7525, allocations: 0 / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7526, allocations: 0 / 1.167 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.886e-05/0.7526, allocations: 0 / 1.167 GB, free: 15.94 MB / 0.7136 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.002665/0.7553, allocations: 1.293 MB / 1.168 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7553, allocations: 10.34 kB / 1.168 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003029/0.7556, allocations: 141.5 kB / 1.168 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/0.7586, allocations: 496.8 kB / 1.169 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.7603, allocations: 0.8147 MB / 1.17 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000354/0.7607, allocations: 127 kB / 1.17 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.7609, allocations: 98.42 kB / 1.17 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.7633, allocations: 1.196 MB / 1.171 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.7633, allocations: 0 / 1.171 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.7634, allocations: 37.84 kB / 1.171 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-05/0.7635, allocations: 33.12 kB / 1.171 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.7659, allocations: 1.108 MB / 1.172 GB, free: 12.65 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.006913/0.7729, allocations: 4.376 MB / 1.176 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.7747, allocations: 0.7965 MB / 1.177 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008568/0.7756, allocations: 419.7 kB / 1.178 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001618/0.7757, allocations: 105 kB / 1.178 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.7758, allocations: 45.56 kB / 1.178 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.7758, allocations: 0 / 1.178 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.005562/0.7814, allocations: 2.281 MB / 1.18 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.7814, allocations: 58.22 kB / 1.18 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/0.7824, allocations: 0.853 MB / 1.181 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.7824, allocations: 40.14 kB / 1.181 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.7828, allocations: 495.4 kB / 1.181 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.7829, allocations: 167.4 kB / 1.182 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.783, allocations: 10.78 kB / 1.182 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.7831, allocations: 327.1 kB / 1.182 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008882/0.784, allocations: 391.4 kB / 1.182 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009543/0.7849, allocations: 0.5273 MB / 1.183 GB, free: 5.152 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.005616/0.7905, allocations: 2.371 MB / 1.185 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7906, allocations: 0 / 1.185 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002127/0.7927, allocations: 1.022 MB / 1.186 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7927, allocations: 12.66 kB / 1.186 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.7927, allocations: 6.062 kB / 1.186 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7928, allocations: 9.188 kB / 1.186 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008769/0.7936, allocations: 214.5 kB / 1.186 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.7937, allocations: 6.484 kB / 1.186 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.7948, allocations: 112 kB / 1.186 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.7949, allocations: 27.52 kB / 1.186 GB, free: 3.289 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.0004511/0.7953, allocations: 310.5 kB / 1.187 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.7955, allocations: 93.19 kB / 1.187 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.7957, allocations: 109.2 kB / 1.187 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7957, allocations: 9.75 kB / 1.187 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7957, allocations: 0 / 1.187 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0018/0.7975, allocations: 1.06 MB / 1.188 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004302/0.8019, allocations: 2.204 MB / 1.19 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8019, allocations: 5.125 kB / 1.19 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.8027, allocations: 187.7 kB / 1.19 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.8027, allocations: 5.281 kB / 1.19 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.8028, allocations: 16.48 kB / 1.19 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.8028, allocations: 6.781 kB / 1.19 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.8028, allocations: 9.031 kB / 1.19 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.8057, allocations: 1.498 MB / 1.192 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.8061, allocations: 257.2 kB / 1.192 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.8063, allocations: 17.73 kB / 1.192 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.8073, allocations: 109 kB / 1.192 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.8074, allocations: 40.52 kB / 1.192 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.12e-05/0.8075, allocations: 29.7 kB / 1.192 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007197/0.8082, allocations: 0.5908 MB / 1.193 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8082, allocations: 4 kB / 1.193 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009202/0.8092, allocations: 267.6 kB / 1.193 GB, free: 15.12 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 (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.003551/0.8127, allocations: 2.151 MB / 1.195 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.8148, allocations: 0.8582 MB / 1.196 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8148, allocations: 4 kB / 1.196 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009289/0.8158, allocations: 412.8 kB / 1.196 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/0.8186, allocations: 0.5493 MB / 1.197 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.8299, allocations: 6.424 MB / 1.203 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.8305, allocations: 1.106 MB / 1.204 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001007/0.8316, allocations: 267.8 kB / 1.205 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.8321, allocations: 352.1 kB / 1.205 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.8321, allocations: 0 / 1.205 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8606/1.693, allocations: 28.45 MB / 1.233 GB, free: 7.258 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/1.693, allocations: 284.9 kB / 1.233 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/4.987, allocations: 0 / 1.233 GB, free: 6.906 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)