Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001486/0.001486, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001772/0.001772, allocations: 193.5 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 290.4 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8645/0.8645, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 99.97 kB / 0.5948 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1254, allocations: 86.98 MB / 0.6797 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.3872/0.5127, allocations: 188 MB / 0.8633 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007269/0.52, allocations: 5.657 MB / 0.8688 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004918/0.5205, allocations: 36.19 kB / 0.8689 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5217, allocations: 0.5002 MB / 0.8694 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002682/0.5244, allocations: 1.517 MB / 0.8708 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.5265, allocations: 1.109 MB / 0.8719 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.5285, allocations: 2.55 MB / 0.8744 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009073/0.5294, allocations: 1.007 MB / 0.8754 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.5306, allocations: 1.049 MB / 0.8764 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.5318, allocations: 0.9091 MB / 0.8773 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.532, allocations: 111.2 kB / 0.8774 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.5339, allocations: 1.619 MB / 0.879 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.5342, allocations: 0.498 MB / 0.8795 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004923/0.5347, allocations: 0.6441 MB / 0.8801 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.5367, allocations: 2.253 MB / 0.8823 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5367, allocations: 2.906 kB / 0.8823 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.002e-06/0.5367, allocations: 0 / 0.8823 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.5367, allocations: 0 / 0.8823 GB, free: 5.16 MB / 0.5919 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.001915/0.5386, allocations: 1.515 MB / 0.8838 GB, free: 4.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.5387, allocations: 13.69 kB / 0.8838 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001475/0.5388, allocations: 148 kB / 0.884 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002599/0.5414, allocations: 468.5 kB / 0.8844 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5426, allocations: 0.8227 MB / 0.8852 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002998/0.5429, allocations: 122.1 kB / 0.8853 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.543, allocations: 85.52 kB / 0.8854 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.5449, allocations: 1.192 MB / 0.8866 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5449, allocations: 0 / 0.8866 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.59e-05/0.545, allocations: 37.69 kB / 0.8866 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.5451, allocations: 35.86 kB / 0.8866 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.5471, allocations: 1.077 MB / 0.8877 GB, free: 1.73 MB / 0.5919 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.005634/0.5527, allocations: 4.353 MB / 0.8919 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.5545, allocations: 0.7669 MB / 0.8927 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/0.5553, allocations: 408.6 kB / 0.8931 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5555, allocations: 101.1 kB / 0.8932 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.5555, allocations: 38.56 kB / 0.8932 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.716e-06/0.5556, allocations: 3.984 kB / 0.8932 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005098/0.5607, allocations: 2.21 MB / 0.8954 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5607, allocations: 55.41 kB / 0.8954 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000888/0.5616, allocations: 0.8686 MB / 0.8963 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-05/0.5617, allocations: 41.7 kB / 0.8963 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.562, allocations: 483.3 kB / 0.8968 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.5621, allocations: 169.6 kB / 0.8969 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.5623, allocations: 118.2 kB / 0.897 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.5624, allocations: 330 kB / 0.8974 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.5633, allocations: 377 kB / 0.8977 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009566/0.5643, allocations: 0.5034 MB / 0.8982 GB, free: 7.473 MB / 0.6075 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.005564/0.5699, allocations: 2.29 MB / 0.9004 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.5699, allocations: 4 kB / 0.9005 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002038/0.5719, allocations: 1.001 MB / 0.9014 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.572, allocations: 4 kB / 0.9014 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.572, allocations: 4 kB / 0.9014 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.572, allocations: 11.94 kB / 0.9014 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008596/0.5729, allocations: 191.8 kB / 0.9016 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.5729, allocations: 11.94 kB / 0.9016 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009118/0.5738, allocations: 101.9 kB / 0.9017 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-05/0.5739, allocations: 29.31 kB / 0.9018 GB, free: 3.758 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003494/0.5742, allocations: 309.5 kB / 0.9021 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.5744, allocations: 102.9 kB / 0.9022 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.5746, allocations: 100.8 kB / 0.9023 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.5746, allocations: 15.88 kB / 0.9023 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5746, allocations: 0 / 0.9023 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.5764, allocations: 1.034 MB / 0.9033 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.5806, allocations: 2.144 MB / 0.9054 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5806, allocations: 4 kB / 0.9054 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008306/0.5814, allocations: 164.2 kB / 0.9055 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5815, allocations: 11.98 kB / 0.9055 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.5815, allocations: 19.98 kB / 0.9056 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.5815, allocations: 11.94 kB / 0.9056 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5815, allocations: 7.938 kB / 0.9056 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002835/0.5844, allocations: 1.433 MB / 0.907 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.5847, allocations: 255.9 kB / 0.9072 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5848, allocations: 13.5 kB / 0.9072 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009392/0.5858, allocations: 101.4 kB / 0.9073 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.5859, allocations: 43.83 kB / 0.9074 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.459e-05/0.586, allocations: 31.97 kB / 0.9074 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006487/0.5866, allocations: 0.5966 MB / 0.908 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5866, allocations: 0 / 0.908 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000698/0.5873, allocations: 268 kB / 0.9083 GB, free: 12.84 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003365/0.5907, allocations: 2.086 MB / 0.9103 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002044/0.5927, allocations: 0.8891 MB / 0.9112 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5928, allocations: 0.75 kB / 0.9112 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009249/0.5937, allocations: 400.5 kB / 0.9115 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.596, allocations: 0.5818 MB / 0.9121 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.6101, allocations: 8.883 MB / 0.9208 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006227/0.6108, allocations: 1.114 MB / 0.9219 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008667/0.6117, allocations: 259.8 kB / 0.9221 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.6122, allocations: 355.3 kB / 0.9225 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6122, allocations: 0 / 0.9225 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.445/2.057, allocations: 28.29 MB / 0.9501 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/2.058, allocations: 318.6 kB / 0.9504 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/4.356, allocations: 0 / 0.9504 GB, free: 1.75 MB / 0.6544 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)