Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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 1.523/1.523, allocations: 287.4 MB / 302.6 MB, free: 8.219 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.0008471/0.000847, allocations: 180.5 kB / 371.1 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.212/1.212, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007127/0.0007127, allocations: 98.98 kB / 0.7431 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003219, allocations: 11.56 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1544, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4426/0.597, allocations: 173.3 MB / 1.148 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006806/0.6038, allocations: 5.315 MB / 1.153 GB, free: 8.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000485/0.6043, allocations: 32.41 kB / 1.153 GB, free: 8.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009213/0.6053, allocations: 404.3 kB / 1.154 GB, free: 8.254 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.002685/0.608, allocations: 1.356 MB / 1.155 GB, free: 7.383 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001868/0.6098, allocations: 0.8388 MB / 1.156 GB, free: 6.793 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002953/0.6128, allocations: 3.424 MB / 1.159 GB, free: 4.797 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.6138, allocations: 0.927 MB / 1.16 GB, free: 4.266 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.615, allocations: 0.8737 MB / 1.161 GB, free: 3.816 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.616, allocations: 0.9067 MB / 1.162 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.6161, allocations: 50.5 kB / 1.162 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.6176, allocations: 0.7085 MB / 1.162 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004534/0.6181, allocations: 493.4 kB / 1.163 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.6183, allocations: 278.2 kB / 1.163 GB, free: 2.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.6198, allocations: 1.628 MB / 1.165 GB, free: 1.477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6198, allocations: 0 / 1.165 GB, free: 1.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6198, allocations: 1.375 kB / 1.165 GB, free: 1.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.6198, allocations: 0 / 1.165 GB, free: 1.477 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001879/0.6217, allocations: 1.361 MB / 1.166 GB, free: 448 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.6218, allocations: 16.36 kB / 1.166 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001712/0.6219, allocations: 156.4 kB / 1.166 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.6236, allocations: 326.5 kB / 1.167 GB, free: 168 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.6248, allocations: 0.8579 MB / 1.167 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.709e-05/0.6248, allocations: 74.59 kB / 1.167 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.625, allocations: 109.1 kB / 1.168 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.6267, allocations: 1.081 MB / 1.169 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.6267, allocations: 1.031 kB / 1.169 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.999e-05/0.6268, allocations: 45.75 kB / 1.169 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.6268, allocations: 40.92 kB / 1.169 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.6284, allocations: 0.9933 MB / 1.17 GB, free: 14.3 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.0052/0.6336, allocations: 4.256 MB / 1.174 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.6344, allocations: 0.6001 MB / 1.174 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.6348, allocations: 345.1 kB / 1.175 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000154/0.635, allocations: 105.9 kB / 1.175 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.635, allocations: 44.31 kB / 1.175 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=53): time 1.533e-06/0.635, allocations: 0 / 1.175 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=55): time 0.003285/0.6383, allocations: 2.214 MB / 1.177 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.6383, allocations: 66.06 kB / 1.177 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008594/0.6392, allocations: 0.8712 MB / 1.178 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.6393, allocations: 42.8 kB / 1.178 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.6396, allocations: 0.5057 MB / 1.179 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.6397, allocations: 201.8 kB / 1.179 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.6398, allocations: 12.97 kB / 1.179 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.6399, allocations: 331.4 kB / 1.179 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.6403, allocations: 287.2 kB / 1.179 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.6409, allocations: 450.4 kB / 1.18 GB, free: 6.773 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.003566/0.6445, allocations: 1.756 MB / 1.181 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6445, allocations: 0 / 1.181 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001511/0.646, allocations: 0.9254 MB / 1.182 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.646, allocations: 7.875 kB / 1.182 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.646, allocations: 3.422 kB / 1.182 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.6463, allocations: 108.9 kB / 1.182 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006318/0.6469, allocations: 177.5 kB / 1.183 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002827/0.6497, allocations: 4.289 MB / 1.187 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.6505, allocations: 70.25 kB / 1.187 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.524e-05/0.6505, allocations: 25.38 kB / 1.187 GB, free: 0.8633 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 (80): * Single equations (assignments): 77 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003686/0.6509, allocations: 344.2 kB / 1.187 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.651, allocations: 99.31 kB / 1.187 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.6512, allocations: 106.3 kB / 1.187 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6512, allocations: 10.25 kB / 1.187 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6512, allocations: 0 / 1.187 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009244/0.6522, allocations: 0.7769 MB / 1.188 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.6548, allocations: 1.985 MB / 1.19 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6548, allocations: 9.312 kB / 1.19 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.6554, allocations: 154.2 kB / 1.19 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.6555, allocations: 42.61 kB / 1.19 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.6555, allocations: 19.91 kB / 1.19 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009711/0.6565, allocations: 1.486 MB / 1.192 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.6565, allocations: 15.27 kB / 1.192 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.658, allocations: 1.252 MB / 1.193 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/0.6584, allocations: 251 kB / 1.193 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6585, allocations: 21.67 kB / 1.193 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006828/0.6592, allocations: 71.98 kB / 1.193 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.6593, allocations: 53.28 kB / 1.193 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.6593, allocations: 31.33 kB / 1.193 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006101/0.6599, allocations: 0.6019 MB / 1.194 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.66, allocations: 0 / 1.194 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006867/0.6606, allocations: 301.4 kB / 1.194 GB, free: 11.62 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 (53): * Single equations (assignments): 52 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001936/0.6626, allocations: 1.869 MB / 1.196 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.6638, allocations: 1.01 MB / 1.197 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6638, allocations: 2.438 kB / 1.197 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.6644, allocations: 445.4 kB / 1.198 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.6671, allocations: 0.632 MB / 1.198 GB, free: 9.023 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008004/0.6751, allocations: 6.197 MB / 1.204 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/0.6758, allocations: 1.166 MB / 1.205 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008171/0.6766, allocations: 260.4 kB / 1.206 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.6771, allocations: 371.3 kB / 1.206 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.6771, allocations: 3.938 kB / 1.206 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3684/1.046, allocations: 29.84 MB / 1.235 GB, free: 3.801 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/1.046, allocations: 288.3 kB / 1.235 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.69, allocations: 0 / 1.235 GB, free: 3.438 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)