Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008655/0.0008656, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005273, allocations: 15 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2759, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.618/0.894, allocations: 173.1 MB / 0.9565 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007822/0.9018, allocations: 5.309 MB / 0.9616 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.903, allocations: 32.03 kB / 0.9617 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.9043, allocations: 387.5 kB / 0.962 GB, free: 4.406 MB / 0.7169 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.004122/0.9084, allocations: 1.195 MB / 0.9632 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.912, allocations: 0.8877 MB / 0.9641 GB, free: 4 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.9159, allocations: 2.918 MB / 0.9669 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.9171, allocations: 0.7007 MB / 0.9676 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002278/0.9194, allocations: 0.8424 MB / 0.9684 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.9209, allocations: 0.7677 MB / 0.9692 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001393/0.9211, allocations: 40.19 kB / 0.9692 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.9236, allocations: 0.8951 MB / 0.9701 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005171/0.9242, allocations: 427.3 kB / 0.9705 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000591/0.9248, allocations: 246 kB / 0.9707 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.927, allocations: 1.478 MB / 0.9722 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.927, allocations: 4 kB / 0.9722 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.665e-06/0.927, allocations: 3.109 kB / 0.9722 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.927, allocations: 0 / 0.9722 GB, free: 18.84 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002343/0.9294, allocations: 1.255 MB / 0.9734 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.9294, allocations: 9.531 kB / 0.9734 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.9296, allocations: 139.2 kB / 0.9736 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.9316, allocations: 344.3 kB / 0.9739 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.933, allocations: 0.7416 MB / 0.9746 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.9333, allocations: 131.9 kB / 0.9747 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.9334, allocations: 87.34 kB / 0.9748 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/0.9351, allocations: 1.068 MB / 0.9759 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.9352, allocations: 1.969 kB / 0.9759 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-05/0.9353, allocations: 40.44 kB / 0.9759 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.9353, allocations: 32.31 kB / 0.9759 GB, free: 17.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.9366, allocations: 0.8496 MB / 0.9768 GB, free: 17.43 MB / 0.7325 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.005333/0.942, allocations: 4.049 MB / 0.9807 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.9426, allocations: 385.2 kB / 0.9811 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.9428, allocations: 213.9 kB / 0.9813 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.943, allocations: 95.97 kB / 0.9814 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.9431, allocations: 40.22 kB / 0.9814 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/0.9431, allocations: 4 kB / 0.9814 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=38): time 0.002422/0.9455, allocations: 1.322 MB / 0.9827 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.9456, allocations: 62.06 kB / 0.9828 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.9468, allocations: 0.9838 MB / 0.9837 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.9469, allocations: 34.42 kB / 0.9838 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.9472, allocations: 497.6 kB / 0.9842 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.9473, allocations: 133.7 kB / 0.9844 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.9474, allocations: 14.88 kB / 0.9844 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.9476, allocations: 334 kB / 0.9847 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.948, allocations: 236.8 kB / 0.9849 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.9486, allocations: 419.7 kB / 0.9853 GB, free: 12.59 MB / 0.7325 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.001646/0.9502, allocations: 0.7269 MB / 0.986 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9502, allocations: 2.094 kB / 0.986 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001214/0.9514, allocations: 0.7501 MB / 0.9868 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9515, allocations: 10.88 kB / 0.9868 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.9515, allocations: 5.656 kB / 0.9868 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.9515, allocations: 9.719 kB / 0.9868 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.9521, allocations: 142.1 kB / 0.9869 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.9521, allocations: 11.94 kB / 0.9869 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009297/0.953, allocations: 100.1 kB / 0.987 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.9531, allocations: 20.38 kB / 0.9871 GB, free: 12.09 MB / 0.7325 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: 22 * 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 (71): * Single equations (assignments): 71 * 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.0005028/0.9536, allocations: 317.8 kB / 0.9874 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.9537, allocations: 99.19 kB / 0.9875 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001722/0.9539, allocations: 97.77 kB / 0.9876 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.9539, allocations: 10.59 kB / 0.9876 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9539, allocations: 0 / 0.9876 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007436/0.9547, allocations: 0.6747 MB / 0.9882 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.9572, allocations: 1.583 MB / 0.9898 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.9572, allocations: 9.094 kB / 0.9898 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003788/0.9576, allocations: 89.64 kB / 0.9899 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.9576, allocations: 6.438 kB / 0.9899 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.9577, allocations: 12.94 kB / 0.9899 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.014e-06/0.9577, allocations: 6.438 kB / 0.9899 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9577, allocations: 10.47 kB / 0.9899 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.9588, allocations: 0.8483 MB / 0.9907 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.9591, allocations: 240.2 kB / 0.991 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.9593, allocations: 16.45 kB / 0.991 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007318/0.96, allocations: 64.73 kB / 0.991 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.9601, allocations: 38.03 kB / 0.9911 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.214e-05/0.9601, allocations: 23.73 kB / 0.9911 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009308/0.9611, allocations: 0.6988 MB / 0.9918 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.71e-07/0.9611, allocations: 0 / 0.9918 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007747/0.9618, allocations: 255.6 kB / 0.992 GB, free: 9.707 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * 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.001561/0.9634, allocations: 1.486 MB / 0.9935 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008081/0.9642, allocations: 497.2 kB / 0.9939 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9642, allocations: 2.469 kB / 0.9939 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.9645, allocations: 184.9 kB / 0.9941 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.9671, allocations: 0.5957 MB / 0.9947 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.9774, allocations: 5.801 MB / 1 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.9782, allocations: 1.098 MB / 1.001 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001139/0.9794, allocations: 238.2 kB / 1.002 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/0.9798, allocations: 338.4 kB / 1.002 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/0.9798, allocations: 1.859 kB / 1.002 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04695/1.027, allocations: 27.15 MB / 1.029 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/1.027, allocations: 239.2 kB / 1.029 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.496/3.523, allocations: 4 kB / 1.029 GB, free: 1.191 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: