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.005616/0.005616, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.002138/0.002138, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 292.9 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9544/0.9544, allocations: 169.3 MB / 0.4983 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 99.73 kB / 0.681 GB, free: 7.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3893, allocations: 86.97 MB / 0.7659 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2006/0.5899, allocations: 190.5 MB / 0.9519 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3548/0.9448, allocations: 5.71 MB / 0.9575 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.9459, allocations: 44.06 kB / 0.9576 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.9472, allocations: 0.5654 MB / 0.9581 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.9504, allocations: 1.615 MB / 0.9597 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.953, allocations: 1.21 MB / 0.9609 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.9554, allocations: 2.551 MB / 0.9634 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.9565, allocations: 1.036 MB / 0.9644 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.9577, allocations: 1.043 MB / 0.9654 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.9589, allocations: 0.8559 MB / 0.9662 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.9591, allocations: 109.5 kB / 0.9663 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.9612, allocations: 1.561 MB / 0.9679 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003668/0.9616, allocations: 0.4907 MB / 0.9683 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/0.9621, allocations: 0.6413 MB / 0.969 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.964, allocations: 2.193 MB / 0.9711 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.964, allocations: 0 / 0.9711 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.162e-06/0.964, allocations: 1.828 kB / 0.9711 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.964, allocations: 0 / 0.9711 GB, free: 1.551 MB / 0.7169 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.001926/0.9659, allocations: 1.551 MB / 0.9726 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.966, allocations: 9.031 kB / 0.9726 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.9661, allocations: 145.7 kB / 0.9728 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00266/0.9688, allocations: 480.9 kB / 0.9732 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.97, allocations: 0.8619 MB / 0.9741 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.97, allocations: 69.23 kB / 0.9741 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.9702, allocations: 82.69 kB / 0.9742 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.9719, allocations: 1.178 MB / 0.9754 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.9719, allocations: 3.953 kB / 0.9754 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/0.972, allocations: 37.28 kB / 0.9754 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.972, allocations: 36.77 kB / 0.9754 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.9739, allocations: 1.066 MB / 0.9765 GB, free: 16.17 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.005591/0.9795, allocations: 4.322 MB / 0.9807 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.9811, allocations: 0.7398 MB / 0.9814 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.9818, allocations: 398.9 kB / 0.9818 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.982, allocations: 108.9 kB / 0.9819 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.982, allocations: 43.11 kB / 0.9819 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=43): time 1.573e-06/0.982, allocations: 0 / 0.9819 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.004561/0.9866, allocations: 2.194 MB / 0.9841 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.9867, allocations: 59.56 kB / 0.9841 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007678/0.9874, allocations: 0.8687 MB / 0.985 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.9875, allocations: 38.98 kB / 0.985 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.9878, allocations: 0.4906 MB / 0.9855 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.9879, allocations: 167 kB / 0.9857 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.9881, allocations: 122.4 kB / 0.9858 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.9883, allocations: 335.6 kB / 0.9861 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007458/0.989, allocations: 369.9 kB / 0.9865 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/0.9899, allocations: 0.4945 MB / 0.9869 GB, free: 12.7 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.005026/0.9949, allocations: 2.267 MB / 0.9892 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9949, allocations: 2.938 kB / 0.9892 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001768/0.9967, allocations: 0.9899 MB / 0.9901 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.9967, allocations: 8.094 kB / 0.9901 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.9967, allocations: 5.281 kB / 0.9901 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9968, allocations: 10.53 kB / 0.9901 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.9976, allocations: 189.2 kB / 0.9903 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.9976, allocations: 9.938 kB / 0.9903 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008435/0.9984, allocations: 68.78 kB / 0.9904 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.9985, allocations: 24.86 kB / 0.9904 GB, free: 12.35 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 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.0003396/0.9988, allocations: 313.7 kB / 0.9907 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.999, allocations: 99.77 kB / 0.9908 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.9992, allocations: 109.7 kB / 0.9909 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.9992, allocations: 6.438 kB / 0.9909 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.9992, allocations: 0 / 0.9909 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/1.001, allocations: 1.025 MB / 0.9919 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/1.005, allocations: 2.138 MB / 0.994 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.005, allocations: 2.531 kB / 0.994 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/1.005, allocations: 167.6 kB / 0.9942 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.005, allocations: 9.562 kB / 0.9942 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/1.005, allocations: 17.2 kB / 0.9942 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.005, allocations: 10.22 kB / 0.9942 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.005, allocations: 8.156 kB / 0.9942 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/1.008, allocations: 1.413 MB / 0.9956 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/1.008, allocations: 259.1 kB / 0.9959 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/1.008, allocations: 15.38 kB / 0.9959 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/1.009, allocations: 72.09 kB / 0.9959 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.343e-05/1.009, allocations: 41.19 kB / 0.996 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/1.009, allocations: 26.94 kB / 0.996 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005521/1.01, allocations: 0.6015 MB / 0.9966 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.01, allocations: 0 / 0.9966 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007918/1.011, allocations: 270.1 kB / 0.9968 GB, free: 10.71 MB / 0.7325 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.003119/1.014, allocations: 2.085 MB / 0.9989 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001645/1.016, allocations: 0.814 MB / 0.9997 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.016, allocations: 0 / 0.9997 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007612/1.016, allocations: 386.6 kB / 1 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.018, allocations: 0.577 MB / 1.001 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/1.03, allocations: 8.213 MB / 1.009 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/1.031, allocations: 1.113 MB / 1.01 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007086/1.032, allocations: 261.8 kB / 1.01 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/1.032, allocations: 353.9 kB / 1.01 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of SimCode: time 3.21e-07/1.032, allocations: 1.094 kB / 1.01 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.751/3.783, allocations: 28.74 MB / 1.038 GB, free: 3.434 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.94/19.72, allocations: 18.72 kB / 1.038 GB, free: 3.422 MB / 0.7481 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)