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.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00107/0.00107, allocations: 196.6 kB / 16.14 MB, free: 6.715 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002007/0.002007, allocations: 283 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 91.19 kB / 0.5946 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1273, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4415/0.5687, allocations: 188.2 MB / 0.8633 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008292/0.5771, allocations: 5.764 MB / 0.869 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5784, allocations: 34.22 kB / 0.869 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001406/0.5798, allocations: 0.4977 MB / 0.8695 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00355/0.5834, allocations: 1.523 MB / 0.871 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.5861, allocations: 1.081 MB / 0.872 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.5895, allocations: 3.534 MB / 0.8755 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.5905, allocations: 0.8912 MB / 0.8764 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.5921, allocations: 0.9006 MB / 0.8772 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001539/0.5937, allocations: 0.8825 MB / 0.8781 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.5938, allocations: 56.88 kB / 0.8782 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.5968, allocations: 1.73 MB / 0.8798 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.5972, allocations: 465.8 kB / 0.8803 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000618/0.5979, allocations: 0.5812 MB / 0.8809 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/0.6004, allocations: 2.192 MB / 0.883 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.6004, allocations: 2.844 kB / 0.883 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6004, allocations: 0 / 0.883 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6004, allocations: 4 kB / 0.883 GB, free: 4.715 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.00227/0.6027, allocations: 1.526 MB / 0.8845 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.6027, allocations: 14.16 kB / 0.8845 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.6029, allocations: 136.4 kB / 0.8846 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003137/0.6061, allocations: 476.5 kB / 0.8851 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.6075, allocations: 0.8152 MB / 0.8859 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003427/0.6078, allocations: 121.5 kB / 0.886 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.608, allocations: 86.19 kB / 0.8861 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/0.6102, allocations: 1.188 MB / 0.8872 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.6102, allocations: 4 kB / 0.8873 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6103, allocations: 42.41 kB / 0.8873 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.659e-05/0.6104, allocations: 31.12 kB / 0.8873 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.6127, allocations: 1.077 MB / 0.8884 GB, free: 1.277 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.006795/0.6195, allocations: 4.356 MB / 0.8926 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.6215, allocations: 0.7599 MB / 0.8934 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009577/0.6225, allocations: 410.8 kB / 0.8938 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001817/0.6226, allocations: 101.1 kB / 0.8939 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.6227, allocations: 42.56 kB / 0.8939 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.134e-06/0.6227, allocations: 0 / 0.8939 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005945/0.6286, allocations: 2.207 MB / 0.8961 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.6287, allocations: 59.41 kB / 0.8961 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.6297, allocations: 0.8608 MB / 0.8969 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.6298, allocations: 33.7 kB / 0.897 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.6301, allocations: 495.3 kB / 0.8975 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.6302, allocations: 169.6 kB / 0.8976 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/0.6305, allocations: 118.2 kB / 0.8977 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.6306, allocations: 334 kB / 0.898 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000966/0.6315, allocations: 373 kB / 0.8984 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.6326, allocations: 0.5014 MB / 0.8989 GB, free: 6.805 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.006185/0.6388, allocations: 2.294 MB / 0.9011 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.6388, allocations: 4 kB / 0.9011 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00236/0.6412, allocations: 0.9977 MB / 0.9021 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6412, allocations: 12 kB / 0.9021 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.6412, allocations: 4 kB / 0.9021 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.6413, allocations: 11.94 kB / 0.9021 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.6423, allocations: 191.7 kB / 0.9023 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.6423, allocations: 15.88 kB / 0.9023 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6435, allocations: 103.8 kB / 0.9024 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.6435, allocations: 27.98 kB / 0.9025 GB, free: 3.074 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.0004823/0.644, allocations: 309.5 kB / 0.9028 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.6442, allocations: 98.81 kB / 0.9029 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.6444, allocations: 104.8 kB / 0.903 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6444, allocations: 7.938 kB / 0.903 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6444, allocations: 0 / 0.903 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001947/0.6464, allocations: 1.034 MB / 0.904 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.6509, allocations: 2.144 MB / 0.9061 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.651, allocations: 4 kB / 0.9061 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008942/0.6519, allocations: 168.2 kB / 0.9062 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.709e-06/0.6519, allocations: 4 kB / 0.9062 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-05/0.6519, allocations: 19.98 kB / 0.9062 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.652, allocations: 15.94 kB / 0.9063 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.652, allocations: 7.938 kB / 0.9063 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.6551, allocations: 1.433 MB / 0.9077 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004787/0.6555, allocations: 259.9 kB / 0.9079 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.6557, allocations: 16 kB / 0.9079 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.6568, allocations: 97.39 kB / 0.908 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/0.6569, allocations: 43.83 kB / 0.9081 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/0.657, allocations: 27.98 kB / 0.9081 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008366/0.6579, allocations: 0.6044 MB / 0.9087 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6579, allocations: 0 / 0.9087 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009588/0.6588, allocations: 272 kB / 0.9089 GB, free: 12.16 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.003739/0.6626, allocations: 2.085 MB / 0.911 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00214/0.6647, allocations: 0.811 MB / 0.9118 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6648, allocations: 7.938 kB / 0.9118 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009612/0.6657, allocations: 397.3 kB / 0.9122 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.6686, allocations: 0.5538 MB / 0.9127 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.6845, allocations: 8.884 MB / 0.9214 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.6853, allocations: 1.114 MB / 0.9225 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001112/0.6864, allocations: 259.8 kB / 0.9227 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/0.687, allocations: 351.3 kB / 0.923 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of SimCode: time 2.004e-06/0.687, allocations: 0 / 0.923 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.55/4.237, allocations: 27.65 MB / 0.95 GB, free: 2.156 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/4.238, allocations: 320.2 kB / 0.9503 GB, free: 1.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/7.416, allocations: 0 / 0.9503 GB, free: 1.773 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)