Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.398/1.398, allocations: 288.4 MB / 303.6 MB, free: 8.062 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.0008455/0.0008455, allocations: 187.2 kB / 372.3 MB, free: 10.18 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.066/1.066, allocations: 205.4 MB / 0.631 GB, free: 9.961 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.0006392/0.0006392, allocations: 86.31 kB / 0.7444 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 13.31 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4258/0.5596, allocations: 173.4 MB / 1.15 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006714/0.5664, allocations: 5.356 MB / 1.155 GB, free: 7.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004974/0.5669, allocations: 28.97 kB / 1.155 GB, free: 7.668 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5679, allocations: 470.3 kB / 1.155 GB, free: 7.297 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.002926/0.5708, allocations: 1.594 MB / 1.157 GB, free: 6.078 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.5729, allocations: 0.9097 MB / 1.158 GB, free: 5.441 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.5758, allocations: 3.43 MB / 1.161 GB, free: 3.438 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008552/0.5766, allocations: 0.7717 MB / 1.162 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.5778, allocations: 0.8734 MB / 1.163 GB, free: 2.523 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001144/0.5789, allocations: 0.8687 MB / 1.163 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.579, allocations: 41.25 kB / 1.164 GB, free: 2.055 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.5813, allocations: 1.592 MB / 1.165 GB, free: 1.176 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.5817, allocations: 387.6 kB / 1.165 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005263/0.5822, allocations: 0.5775 MB / 1.166 GB, free: 0.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.5836, allocations: 1.565 MB / 1.168 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.5836, allocations: 0 / 1.168 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5836, allocations: 0 / 1.168 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.5836, allocations: 1.062 kB / 1.168 GB, free: 15.57 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.001797/0.5854, allocations: 1.286 MB / 1.169 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.5854, allocations: 9.406 kB / 1.169 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.5856, allocations: 139.4 kB / 1.169 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.5872, allocations: 307.6 kB / 1.169 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.5882, allocations: 0.7946 MB / 1.17 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.5882, allocations: 64.38 kB / 1.17 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.5884, allocations: 88.41 kB / 1.17 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5898, allocations: 0.9204 MB / 1.171 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5898, allocations: 0 / 1.171 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/0.5899, allocations: 33.03 kB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/0.59, allocations: 38.81 kB / 1.171 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.5913, allocations: 0.8292 MB / 1.172 GB, free: 12.7 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.00433/0.5956, allocations: 3.532 MB / 1.175 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.5962, allocations: 0.4981 MB / 1.176 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.5966, allocations: 303.5 kB / 1.176 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.5968, allocations: 102.2 kB / 1.176 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5968, allocations: 43.97 kB / 1.176 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 1.393e-06/0.5968, allocations: 0 / 1.176 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.003177/0.6, allocations: 1.938 MB / 1.178 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.6001, allocations: 68.34 kB / 1.178 GB, free: 8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007569/0.6008, allocations: 0.7853 MB / 1.179 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.6009, allocations: 38.86 kB / 1.179 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.6012, allocations: 470.7 kB / 1.179 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.6013, allocations: 174.3 kB / 1.18 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.6013, allocations: 8 kB / 1.18 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.6014, allocations: 337.8 kB / 1.18 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.6018, allocations: 244.3 kB / 1.18 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.6023, allocations: 371.3 kB / 1.181 GB, free: 6.242 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.003168/0.6054, allocations: 1.552 MB / 1.182 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6055, allocations: 0 / 1.182 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001069/0.6065, allocations: 0.7919 MB / 1.183 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6065, allocations: 5.812 kB / 1.183 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6066, allocations: 2.969 kB / 1.183 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.6068, allocations: 92.66 kB / 1.183 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005659/0.6074, allocations: 153.8 kB / 1.183 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.6096, allocations: 3.075 MB / 1.186 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007015/0.6103, allocations: 59.42 kB / 1.186 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.6104, allocations: 20.94 kB / 1.186 GB, free: 1.863 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: 12 * 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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003162/0.6107, allocations: 301.2 kB / 1.186 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6108, allocations: 93.97 kB / 1.187 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.611, allocations: 103.6 kB / 1.187 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.611, allocations: 5.125 kB / 1.187 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.611, allocations: 0 / 1.187 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008662/0.6119, allocations: 0.8467 MB / 1.187 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.6142, allocations: 1.801 MB / 1.189 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6142, allocations: 2.906 kB / 1.189 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005453/0.6148, allocations: 146.6 kB / 1.189 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001789/0.6149, allocations: 68.33 kB / 1.189 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.615, allocations: 17.34 kB / 1.189 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.6162, allocations: 1.643 MB / 1.191 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6163, allocations: 10.38 kB / 1.191 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.6176, allocations: 1.107 MB / 1.192 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.6178, allocations: 231.4 kB / 1.192 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.6179, allocations: 16.64 kB / 1.192 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.6186, allocations: 67.08 kB / 1.192 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.6187, allocations: 46.7 kB / 1.193 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.6188, allocations: 27.64 kB / 1.193 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005283/0.6193, allocations: 0.5555 MB / 1.193 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6193, allocations: 0 / 1.193 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006425/0.62, allocations: 286.3 kB / 1.193 GB, free: 12.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[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): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001763/0.6217, allocations: 1.722 MB / 1.195 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.6228, allocations: 0.8116 MB / 1.196 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6228, allocations: 2.594 kB / 1.196 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.6233, allocations: 411.7 kB / 1.196 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002558/0.6258, allocations: 0.5829 MB / 1.197 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.6323, allocations: 5.388 MB / 1.202 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.6329, allocations: 1.091 MB / 1.203 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0006684/0.6336, allocations: 215.5 kB / 1.203 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.634, allocations: 343.3 kB / 1.204 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.634, allocations: 0 / 1.204 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.229/1.863, allocations: 27.57 MB / 1.231 GB, free: 9.008 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002691/1.863, allocations: 276.7 kB / 1.231 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.862/4.725, allocations: 2.656 kB / 1.231 GB, free: 8.648 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)