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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 115.2 kB / 16.37 MB, free: 6.434 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.002901/0.002901, allocations: 197.1 kB / 17.31 MB, free: 5.777 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 295.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 98.02 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1543, allocations: 86.97 MB / 0.6816 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4828/0.6371, allocations: 190.5 MB / 0.8676 GB, free: 12 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009757/0.6469, allocations: 5.71 MB / 0.8732 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.6486, allocations: 39.81 kB / 0.8732 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.6503, allocations: 0.5669 MB / 0.8738 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.6541, allocations: 1.61 MB / 0.8753 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002893/0.657, allocations: 1.227 MB / 0.8765 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003039/0.6601, allocations: 2.56 MB / 0.879 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.6614, allocations: 1.039 MB / 0.88 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.6634, allocations: 1.043 MB / 0.8811 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.6652, allocations: 0.847 MB / 0.8819 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.6653, allocations: 108 kB / 0.882 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.6683, allocations: 1.555 MB / 0.8835 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.6688, allocations: 0.4948 MB / 0.884 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.6695, allocations: 0.6416 MB / 0.8846 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.6724, allocations: 2.181 MB / 0.8868 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6724, allocations: 4 kB / 0.8868 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.604e-06/0.6724, allocations: 0 / 0.8868 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.6724, allocations: 0 / 0.8868 GB, free: 12.35 MB / 0.6544 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.002414/0.6748, allocations: 1.52 MB / 0.8882 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.6749, allocations: 8.031 kB / 0.8882 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003003/0.6779, allocations: 466.1 kB / 0.8887 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.6797, allocations: 0.8591 MB / 0.8895 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.6797, allocations: 69.98 kB / 0.8896 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.6799, allocations: 88 kB / 0.8897 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.682, allocations: 1.171 MB / 0.8908 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.682, allocations: 4 kB / 0.8908 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.134e-05/0.6821, allocations: 36 kB / 0.8909 GB, free: 8.023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.6822, allocations: 37.98 kB / 0.8909 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002264/0.6844, allocations: 1.066 MB / 0.8919 GB, free: 6.918 MB / 0.6544 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.006995/0.6915, allocations: 4.32 MB / 0.8962 GB, free: 2.336 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.6933, allocations: 0.7481 MB / 0.8969 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008832/0.6942, allocations: 392.6 kB / 0.8973 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.6944, allocations: 109.1 kB / 0.8974 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.6944, allocations: 42.56 kB / 0.8974 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 2.845e-06/0.6944, allocations: 0 / 0.8974 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.005463/0.6999, allocations: 2.175 MB / 0.8995 GB, free: 14.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.7, allocations: 71.27 kB / 0.8996 GB, free: 14.71 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.701, allocations: 0.8608 MB / 0.9004 GB, free: 13.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.7011, allocations: 37.7 kB / 0.9005 GB, free: 13.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.7014, allocations: 495.2 kB / 0.9009 GB, free: 13.31 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7015, allocations: 157.7 kB / 0.9011 GB, free: 13.15 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002088/0.7017, allocations: 126.1 kB / 0.9012 GB, free: 13.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7019, allocations: 330 kB / 0.9015 GB, free: 12.69 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008705/0.7027, allocations: 369 kB / 0.9019 GB, free: 12.33 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009536/0.7037, allocations: 0.4936 MB / 0.9024 GB, free: 11.79 MB / 0.67 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.005755/0.7095, allocations: 2.267 MB / 0.9046 GB, free: 9.457 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7095, allocations: 0 / 0.9046 GB, free: 9.457 MB / 0.67 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002184/0.7117, allocations: 0.9859 MB / 0.9055 GB, free: 8.461 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.7117, allocations: 8 kB / 0.9056 GB, free: 8.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.7117, allocations: 4 kB / 0.9056 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.7117, allocations: 8 kB / 0.9056 GB, free: 8.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.7127, allocations: 187.8 kB / 0.9057 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.7127, allocations: 16.73 kB / 0.9058 GB, free: 8.242 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000958/0.7137, allocations: 79.83 kB / 0.9058 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.7137, allocations: 24 kB / 0.9059 GB, free: 8.141 MB / 0.67 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.0005015/0.7142, allocations: 318.7 kB / 0.9062 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.7144, allocations: 90.97 kB / 0.9062 GB, free: 7.73 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/0.7146, allocations: 100.8 kB / 0.9063 GB, free: 7.625 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7146, allocations: 4 kB / 0.9063 GB, free: 7.621 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.7146, allocations: 3.938 kB / 0.9064 GB, free: 7.617 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001853/0.7165, allocations: 1.026 MB / 0.9074 GB, free: 6.504 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.7209, allocations: 2.133 MB / 0.9094 GB, free: 4.273 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7209, allocations: 4 kB / 0.9094 GB, free: 4.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.7218, allocations: 164.2 kB / 0.9096 GB, free: 4.109 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.7218, allocations: 8 kB / 0.9096 GB, free: 4.102 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.7218, allocations: 16 kB / 0.9096 GB, free: 4.086 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.7219, allocations: 11.92 kB / 0.9096 GB, free: 4.074 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7219, allocations: 4 kB / 0.9096 GB, free: 4.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.7248, allocations: 1.419 MB / 0.911 GB, free: 2.598 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000487/0.7253, allocations: 255.9 kB / 0.9113 GB, free: 2.328 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.7254, allocations: 11.98 kB / 0.9113 GB, free: 2.316 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00088/0.7263, allocations: 70.75 kB / 0.9113 GB, free: 2.25 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.7264, allocations: 39.83 kB / 0.9114 GB, free: 2.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.7265, allocations: 31.98 kB / 0.9114 GB, free: 2.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007144/0.7272, allocations: 0.6005 MB / 0.912 GB, free: 1.586 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7272, allocations: 3.938 kB / 0.912 GB, free: 1.582 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007884/0.728, allocations: 276 kB / 0.9123 GB, free: 1.312 MB / 0.67 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.0004368/0.7284, allocations: 218.8 kB / 0.9125 GB, free: 1.098 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.7303, allocations: 0.8234 MB / 0.9133 GB, free: 280 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7303, allocations: 0 / 0.9133 GB, free: 280 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008932/0.7312, allocations: 388.4 kB / 0.9136 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.7334, allocations: 0.5775 MB / 0.9142 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004275/0.7377, allocations: 2.167 MB / 0.9163 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006132/0.7383, allocations: 1.103 MB / 0.9174 GB, free: 11.96 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007258/0.7391, allocations: 263.8 kB / 0.9177 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002592/0.7393, allocations: 75.42 kB / 0.9177 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of SimCode: time 3.2e-07/0.7393, allocations: 3.938 kB / 0.9177 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of Templates: time 0.0298/0.7691, allocations: 20.94 MB / 0.9382 GB, free: 7.039 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)