Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.827/2.827, allocations: 287.5 MB / 302.4 MB, free: 8.262 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.001443/0.001443, allocations: 179.7 kB / 371 MB, free: 10.87 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.29/2.29, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009742/0.0009737, allocations: 102.3 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006728/0.000673, allocations: 12.03 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2408, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.978/1.219, allocations: 173.4 MB / 1.148 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01342/1.232, allocations: 5.353 MB / 1.153 GB, free: 8.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/1.234, allocations: 29.88 kB / 1.153 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/1.236, allocations: 407.9 kB / 1.153 GB, free: 8.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.006565/1.243, allocations: 1.363 MB / 1.155 GB, free: 7.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004592/1.248, allocations: 0.8444 MB / 1.156 GB, free: 6.797 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007251/1.255, allocations: 3.41 MB / 1.159 GB, free: 4.809 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/1.257, allocations: 0.72 MB / 1.16 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003142/1.26, allocations: 0.8763 MB / 1.16 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/1.263, allocations: 0.8558 MB / 1.161 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003528/1.263, allocations: 46.47 kB / 1.161 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/1.267, allocations: 0.7082 MB / 1.162 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008435/1.268, allocations: 378 kB / 1.162 GB, free: 2.887 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007132/1.269, allocations: 257.2 kB / 1.163 GB, free: 2.754 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003661/1.273, allocations: 1.476 MB / 1.164 GB, free: 1.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.273, allocations: 3.938 kB / 1.164 GB, free: 1.777 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.735e-06/1.273, allocations: 1.281 kB / 1.164 GB, free: 1.777 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.098e-05/1.273, allocations: 0 / 1.164 GB, free: 1.777 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004167/1.277, allocations: 1.284 MB / 1.165 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/1.277, allocations: 14.47 kB / 1.165 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004369/1.278, allocations: 147.7 kB / 1.165 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00318/1.281, allocations: 323.4 kB / 1.166 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/1.283, allocations: 0.7621 MB / 1.167 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/1.284, allocations: 69.41 kB / 1.167 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/1.284, allocations: 84.19 kB / 1.167 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/1.287, allocations: 0.9131 MB / 1.168 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/1.287, allocations: 0 / 1.168 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/1.287, allocations: 37.38 kB / 1.168 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.139e-05/1.287, allocations: 34.73 kB / 1.168 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/1.29, allocations: 0.8327 MB / 1.168 GB, free: 14.91 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.00971/1.299, allocations: 3.528 MB / 1.172 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/1.301, allocations: 0.5036 MB / 1.172 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/1.301, allocations: 295.1 kB / 1.173 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/1.302, allocations: 102.2 kB / 1.173 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/1.302, allocations: 48.36 kB / 1.173 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.015e-06/1.302, allocations: 4 kB / 1.173 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.006812/1.309, allocations: 1.926 MB / 1.175 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.309, allocations: 58.98 kB / 1.175 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/1.31, allocations: 0.7876 MB / 1.176 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/1.311, allocations: 46.88 kB / 1.176 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004928/1.311, allocations: 470.8 kB / 1.176 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/1.311, allocations: 175.2 kB / 1.176 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/1.311, allocations: 10.94 kB / 1.176 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.312, allocations: 333.8 kB / 1.177 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000745/1.312, allocations: 244.3 kB / 1.177 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/1.313, allocations: 370.6 kB / 1.177 GB, free: 8.477 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.004999/1.318, allocations: 1.002 MB / 1.178 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.842e-06/1.318, allocations: 0 / 1.178 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002339/1.321, allocations: 0.786 MB / 1.179 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.321, allocations: 7.375 kB / 1.179 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.321, allocations: 2.906 kB / 1.179 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/1.321, allocations: 103 kB / 1.179 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.322, allocations: 150 kB / 1.179 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004107/1.327, allocations: 3.059 MB / 1.182 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.328, allocations: 62.22 kB / 1.182 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/1.328, allocations: 27.86 kB / 1.182 GB, free: 4.441 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.0008094/1.329, allocations: 301.4 kB / 1.182 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002388/1.33, allocations: 89.5 kB / 1.183 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002516/1.33, allocations: 99.94 kB / 1.183 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/1.33, allocations: 8.844 kB / 1.183 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/1.33, allocations: 0 / 1.183 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001695/1.332, allocations: 0.843 MB / 1.183 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004925/1.337, allocations: 1.817 MB / 1.185 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.337, allocations: 2.625 kB / 1.185 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.338, allocations: 143 kB / 1.185 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/1.338, allocations: 64.31 kB / 1.185 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/1.338, allocations: 22.11 kB / 1.185 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002323/1.341, allocations: 1.65 MB / 1.187 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.341, allocations: 2.531 kB / 1.187 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/1.343, allocations: 1.109 MB / 1.188 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/1.344, allocations: 231.8 kB / 1.188 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/1.344, allocations: 11.97 kB / 1.188 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.346, allocations: 65.42 kB / 1.188 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.346, allocations: 55.3 kB / 1.189 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.935e-05/1.346, allocations: 26.98 kB / 1.189 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001128/1.347, allocations: 0.5456 MB / 1.189 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.21e-07/1.347, allocations: 0 / 1.189 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001449/1.349, allocations: 283 kB / 1.189 GB, free: 15.17 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.00345/1.352, allocations: 1.74 MB / 1.191 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002117/1.354, allocations: 0.8007 MB / 1.192 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.354, allocations: 6.781 kB / 1.192 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009543/1.355, allocations: 415.4 kB / 1.192 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/1.361, allocations: 0.5923 MB / 1.193 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/1.375, allocations: 5.385 MB / 1.198 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009256/1.376, allocations: 1.077 MB / 1.199 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001628/1.377, allocations: 211.5 kB / 1.199 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/1.378, allocations: 347.3 kB / 1.2 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of SimCode: time 1.633e-06/1.378, allocations: 0 / 1.2 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0871/1.465, allocations: 27.25 MB / 1.226 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004978/1.466, allocations: 268.8 kB / 1.227 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/5.51, allocations: 4 kB / 1.227 GB, free: 12.71 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)