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.0009075/0.0009073, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005861/0.005861, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.339/1.339, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 267 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9528/0.9528, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000684/0.0006839, allocations: 27.52 kB / 0.5987 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2091, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.5558/0.765, allocations: 185.7 MB / 0.8665 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.7747, allocations: 5.717 MB / 0.8721 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.7761, allocations: 34.66 kB / 0.8721 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.7776, allocations: 0.4886 MB / 0.8726 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.7818, allocations: 1.524 MB / 0.8741 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/0.7848, allocations: 1.086 MB / 0.8752 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003609/0.7884, allocations: 3.53 MB / 0.8786 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.7895, allocations: 0.8603 MB / 0.8794 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.7912, allocations: 0.8695 MB / 0.8803 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.7928, allocations: 0.8391 MB / 0.8811 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.7929, allocations: 41.78 kB / 0.8812 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.7958, allocations: 1.728 MB / 0.8828 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.7963, allocations: 438.7 kB / 0.8833 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000644/0.7969, allocations: 0.5808 MB / 0.8838 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002635/0.7996, allocations: 2.161 MB / 0.8859 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7996, allocations: 0 / 0.8859 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7996, allocations: 0 / 0.8859 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.7996, allocations: 3.938 kB / 0.8859 GB, free: 2.223 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.00209/0.8017, allocations: 1.298 MB / 0.8872 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8017, allocations: 8.031 kB / 0.8872 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002903/0.8047, allocations: 498.1 kB / 0.8877 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/0.8061, allocations: 0.8164 MB / 0.8885 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/0.8065, allocations: 137.9 kB / 0.8886 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.8066, allocations: 84 kB / 0.8887 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.8089, allocations: 1.21 MB / 0.8899 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.481e-05/0.8089, allocations: 3.938 kB / 0.8899 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8091, allocations: 36 kB / 0.8899 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/0.8091, allocations: 34 kB / 0.89 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.8115, allocations: 1.112 MB / 0.891 GB, free: 12.88 MB / 0.6075 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.006787/0.8183, allocations: 4.386 MB / 0.8953 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.8203, allocations: 0.7912 MB / 0.8961 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009951/0.8213, allocations: 424.6 kB / 0.8965 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.8215, allocations: 105.1 kB / 0.8966 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.8216, allocations: 42.56 kB / 0.8966 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 3.327e-06/0.8216, allocations: 3.984 kB / 0.8966 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.005892/0.8275, allocations: 2.299 MB / 0.8989 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.8275, allocations: 55.41 kB / 0.8989 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.8285, allocations: 0.8608 MB / 0.8998 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.203e-05/0.8286, allocations: 37.7 kB / 0.8998 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.829, allocations: 499.2 kB / 0.9003 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.8291, allocations: 157.7 kB / 0.9004 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.253e-05/0.8292, allocations: 57.69 kB / 0.9005 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.8294, allocations: 330 kB / 0.9008 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009948/0.8304, allocations: 389 kB / 0.9012 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.8315, allocations: 0.5247 MB / 0.9017 GB, free: 1.512 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.006508/0.838, allocations: 2.384 MB / 0.904 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.838, allocations: 0 / 0.904 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002551/0.8406, allocations: 1.025 MB / 0.905 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8406, allocations: 10.19 kB / 0.905 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8406, allocations: 8.125 kB / 0.905 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.8406, allocations: 7.938 kB / 0.9051 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.8417, allocations: 215.7 kB / 0.9053 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.8417, allocations: 11.94 kB / 0.9053 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.843, allocations: 115.6 kB / 0.9054 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.8431, allocations: 31.98 kB / 0.9054 GB, free: 13.63 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0006435/0.8437, allocations: 314.2 kB / 0.9057 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.8439, allocations: 90.97 kB / 0.9058 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.8441, allocations: 104.8 kB / 0.9059 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.8441, allocations: 7.938 kB / 0.9059 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.8442, allocations: 0 / 0.9059 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002225/0.8464, allocations: 1.069 MB / 0.9069 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00478/0.8512, allocations: 2.202 MB / 0.9091 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.8512, allocations: 4 kB / 0.9091 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009096/0.8521, allocations: 192.1 kB / 0.9093 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-05/0.8521, allocations: 7.984 kB / 0.9093 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.8522, allocations: 19.98 kB / 0.9093 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.8522, allocations: 4 kB / 0.9093 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.8522, allocations: 11.88 kB / 0.9093 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/0.8555, allocations: 1.48 MB / 0.9108 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.8559, allocations: 255.9 kB / 0.911 GB, free: 7.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8561, allocations: 16 kB / 0.911 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8571, allocations: 101.1 kB / 0.9111 GB, free: 7.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.8572, allocations: 43.89 kB / 0.9112 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.8573, allocations: 27.98 kB / 0.9112 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008085/0.8581, allocations: 0.6005 MB / 0.9118 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.844e-06/0.8581, allocations: 0 / 0.9118 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008661/0.859, allocations: 271.9 kB / 0.912 GB, free: 6.566 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.0004595/0.8595, allocations: 213.4 kB / 0.9122 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002211/0.8617, allocations: 0.8501 MB / 0.9131 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.8617, allocations: 4 kB / 0.9131 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.8627, allocations: 417.3 kB / 0.9135 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.8658, allocations: 0.564 MB / 0.914 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.871, allocations: 2.649 MB / 0.9166 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/0.8718, allocations: 1.107 MB / 0.9177 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001123/0.8729, allocations: 255.8 kB / 0.9179 GB, free: 448 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.8732, allocations: 79.41 kB / 0.918 GB, free: 372 kB / 0.6231 GB Notification: Performance of SimCode: time 1.223e-06/0.8732, allocations: 0 / 0.918 GB, free: 372 kB / 0.6231 GB Notification: Performance of Templates: time 0.03388/0.9071, allocations: 20.09 MB / 0.9376 GB, free: 12.62 MB / 0.6544 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1)