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.001163/0.001163, allocations: 112.6 kB / 16.37 MB, free: 6 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.00116/0.00116, allocations: 196 kB / 17.31 MB, free: 5.613 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 288.8 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9205/0.9205, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 95.56 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.4421/0.5954, allocations: 190.5 MB / 0.8676 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008127/0.6036, allocations: 5.712 MB / 0.8732 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000809/0.6044, allocations: 43.75 kB / 0.8732 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.6057, allocations: 0.5591 MB / 0.8738 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003146/0.6089, allocations: 1.614 MB / 0.8753 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.6115, allocations: 1.216 MB / 0.8765 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.614, allocations: 2.555 MB / 0.879 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.6151, allocations: 1.04 MB / 0.88 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.6166, allocations: 1.043 MB / 0.8811 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.618, allocations: 0.8548 MB / 0.8819 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.6182, allocations: 112 kB / 0.882 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002457/0.6206, allocations: 1.547 MB / 0.8835 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004254/0.6211, allocations: 0.4988 MB / 0.884 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005852/0.6217, allocations: 0.6378 MB / 0.8846 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.6239, allocations: 2.181 MB / 0.8867 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6239, allocations: 4 kB / 0.8867 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.613e-06/0.624, allocations: 3.938 kB / 0.8868 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.624, allocations: 0 / 0.8868 GB, free: 12.25 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.002149/0.6261, allocations: 1.516 MB / 0.8882 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.6262, allocations: 12.03 kB / 0.8882 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002803/0.629, allocations: 470.1 kB / 0.8887 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.6305, allocations: 0.8591 MB / 0.8895 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.6306, allocations: 66 kB / 0.8896 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.6307, allocations: 84 kB / 0.8897 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.6327, allocations: 1.181 MB / 0.8908 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.6327, allocations: 0 / 0.8908 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.983e-05/0.6328, allocations: 43.98 kB / 0.8909 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.584e-05/0.6328, allocations: 30 kB / 0.8909 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/0.6349, allocations: 1.07 MB / 0.8919 GB, free: 6.816 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.006284/0.6412, allocations: 4.32 MB / 0.8962 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.643, allocations: 0.7442 MB / 0.8969 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/0.6438, allocations: 402.6 kB / 0.8973 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/0.644, allocations: 105.1 kB / 0.8974 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.644, allocations: 38.56 kB / 0.8974 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.644, allocations: 0 / 0.8974 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.005053/0.6491, allocations: 2.179 MB / 0.8995 GB, free: 14.68 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.6491, allocations: 59.34 kB / 0.8996 GB, free: 14.61 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009053/0.65, allocations: 0.8686 MB / 0.9004 GB, free: 13.74 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/0.6501, allocations: 37.7 kB / 0.9005 GB, free: 13.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003014/0.6504, allocations: 495.2 kB / 0.9009 GB, free: 13.21 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.6505, allocations: 153.8 kB / 0.9011 GB, free: 13.06 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.6507, allocations: 130.1 kB / 0.9012 GB, free: 12.92 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.6508, allocations: 333.9 kB / 0.9015 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008445/0.6517, allocations: 369 kB / 0.9019 GB, free: 12.23 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009231/0.6526, allocations: 0.5053 MB / 0.9024 GB, free: 11.67 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.005517/0.6581, allocations: 2.262 MB / 0.9046 GB, free: 9.348 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6581, allocations: 4 kB / 0.9046 GB, free: 9.344 MB / 0.67 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002003/0.6602, allocations: 0.9781 MB / 0.9056 GB, free: 8.355 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.6602, allocations: 10.5 kB / 0.9056 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6602, allocations: 4 kB / 0.9056 GB, free: 8.344 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6602, allocations: 8.125 kB / 0.9056 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.6611, allocations: 195.7 kB / 0.9058 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.6611, allocations: 11.94 kB / 0.9058 GB, free: 8.133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008316/0.662, allocations: 67.84 kB / 0.9058 GB, free: 8.066 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.662, allocations: 27.97 kB / 0.9059 GB, free: 8.039 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.0003862/0.6624, allocations: 318.4 kB / 0.9062 GB, free: 7.719 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6626, allocations: 90.97 kB / 0.9063 GB, free: 7.629 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.6628, allocations: 104.8 kB / 0.9064 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.6628, allocations: 4 kB / 0.9064 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6628, allocations: 7.938 kB / 0.9064 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001708/0.6645, allocations: 1.022 MB / 0.9074 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.6685, allocations: 2.133 MB / 0.9094 GB, free: 4.168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.6685, allocations: 8.094 kB / 0.9095 GB, free: 4.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/0.6693, allocations: 159.8 kB / 0.9096 GB, free: 4.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.6694, allocations: 8 kB / 0.9096 GB, free: 3.996 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/0.6694, allocations: 15.98 kB / 0.9096 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.6694, allocations: 4 kB / 0.9096 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.6694, allocations: 7.938 kB / 0.9096 GB, free: 3.969 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.672, allocations: 1.423 MB / 0.911 GB, free: 2.492 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.6725, allocations: 251.9 kB / 0.9113 GB, free: 2.227 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6726, allocations: 12 kB / 0.9113 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008399/0.6735, allocations: 73.5 kB / 0.9114 GB, free: 2.145 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.6735, allocations: 43.84 kB / 0.9114 GB, free: 2.102 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.6736, allocations: 31.97 kB / 0.9114 GB, free: 2.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006452/0.6743, allocations: 0.6044 MB / 0.912 GB, free: 1.473 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6743, allocations: 0 / 0.912 GB, free: 1.473 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007051/0.675, allocations: 268 kB / 0.9123 GB, free: 1.211 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.0003845/0.6754, allocations: 212.3 kB / 0.9125 GB, free: 1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002024/0.6774, allocations: 0.8156 MB / 0.9133 GB, free: 188 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6774, allocations: 3.938 kB / 0.9133 GB, free: 184 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008656/0.6783, allocations: 388.3 kB / 0.9136 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.6804, allocations: 0.5819 MB / 0.9142 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.6844, allocations: 2.167 MB / 0.9163 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.6851, allocations: 1.11 MB / 0.9174 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006968/0.6858, allocations: 247.8 kB / 0.9176 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002538/0.686, allocations: 83.41 kB / 0.9177 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of SimCode: time 4.51e-07/0.686, allocations: 0 / 0.9177 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of Templates: time 0.02964/0.7157, allocations: 20.95 MB / 0.9382 GB, free: 6.934 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)