Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, 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.001179/0.001179, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 290.3 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9471/0.9471, allocations: 169.2 MB / 0.4977 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001656, allocations: 94.81 kB / 0.5945 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1715, allocations: 86.99 MB / 0.6794 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4728/0.6444, allocations: 188.3 MB / 0.8633 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008746/0.6532, allocations: 5.802 MB / 0.869 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.6549, allocations: 38.31 kB / 0.869 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.6564, allocations: 0.4985 MB / 0.8695 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003802/0.6603, allocations: 1.539 MB / 0.871 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.6631, allocations: 1.085 MB / 0.8721 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.6665, allocations: 3.547 MB / 0.8756 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.6676, allocations: 0.7351 MB / 0.8763 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.6691, allocations: 0.9148 MB / 0.8772 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.6706, allocations: 0.8426 MB / 0.878 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.6708, allocations: 58.25 kB / 0.878 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.6737, allocations: 1.727 MB / 0.8797 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.6741, allocations: 357.2 kB / 0.8801 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006337/0.6748, allocations: 0.5418 MB / 0.8806 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.6775, allocations: 2.045 MB / 0.8826 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6776, allocations: 0 / 0.8826 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6776, allocations: 0 / 0.8826 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.6776, allocations: 0 / 0.8826 GB, free: 4.875 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002303/0.6799, allocations: 1.442 MB / 0.884 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6799, allocations: 10 kB / 0.884 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.6829, allocations: 417.7 kB / 0.8844 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.6844, allocations: 0.7603 MB / 0.8852 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003681/0.6848, allocations: 115.5 kB / 0.8853 GB, free: 2.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.685, allocations: 71.66 kB / 0.8853 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001923/0.6869, allocations: 0.9962 MB / 0.8863 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.6869, allocations: 3.938 kB / 0.8863 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/0.687, allocations: 34.62 kB / 0.8863 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.434e-05/0.6871, allocations: 26.44 kB / 0.8864 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.689, allocations: 0.8772 MB / 0.8872 GB, free: 1.887 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.006216/0.6952, allocations: 3.528 MB / 0.8907 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.6968, allocations: 0.6175 MB / 0.8913 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.6976, allocations: 341.2 kB / 0.8916 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/0.6978, allocations: 97.75 kB / 0.8917 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.6978, allocations: 42.56 kB / 0.8917 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.485e-06/0.6978, allocations: 0 / 0.8917 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008245/0.7061, allocations: 2.421 MB / 0.8941 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.7061, allocations: 55.41 kB / 0.8942 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.7071, allocations: 0.7941 MB / 0.8949 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.7072, allocations: 33.7 kB / 0.895 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.7076, allocations: 455.6 kB / 0.8954 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7077, allocations: 145.9 kB / 0.8955 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.7079, allocations: 106.1 kB / 0.8956 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.708, allocations: 326 kB / 0.8959 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007965/0.7088, allocations: 312.9 kB / 0.8962 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.7097, allocations: 412.1 kB / 0.8966 GB, free: 9.125 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.005317/0.715, allocations: 1.906 MB / 0.8985 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.715, allocations: 0 / 0.8985 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00356/0.7186, allocations: 1.042 MB / 0.8995 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.7186, allocations: 16.03 kB / 0.8995 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7187, allocations: 4 kB / 0.8995 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006037/0.7193, allocations: 184.7 kB / 0.8997 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.72, allocations: 147.8 kB / 0.8999 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003814/0.7238, allocations: 2.074 MB / 0.9019 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.725, allocations: 79.89 kB / 0.902 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.7251, allocations: 23.98 kB / 0.902 GB, free: 3.453 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004896/0.7256, allocations: 273.6 kB / 0.9022 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.7258, allocations: 86.97 kB / 0.9023 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.726, allocations: 104.2 kB / 0.9024 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.726, allocations: 4 kB / 0.9024 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.726, allocations: 0 / 0.9024 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002839/0.7288, allocations: 0.9025 MB / 0.9033 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005501/0.7344, allocations: 2.119 MB / 0.9054 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.7344, allocations: 7.984 kB / 0.9054 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.735, allocations: 123.8 kB / 0.9055 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005209/0.7356, allocations: 188.8 kB / 0.9057 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.7356, allocations: 15.98 kB / 0.9057 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003373/0.739, allocations: 2.042 MB / 0.9077 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.739, allocations: 0 / 0.9077 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/0.743, allocations: 1.436 MB / 0.9091 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.7435, allocations: 232 kB / 0.9093 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.7436, allocations: 20.05 kB / 0.9093 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.7446, allocations: 96.36 kB / 0.9094 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.7447, allocations: 47.81 kB / 0.9095 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.016e-05/0.7448, allocations: 23.98 kB / 0.9095 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007502/0.7456, allocations: 0.5576 MB / 0.91 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7456, allocations: 3.938 kB / 0.91 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009345/0.7465, allocations: 272 kB / 0.9103 GB, free: 10.57 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004835/0.747, allocations: 205.4 kB / 0.9105 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002138/0.7492, allocations: 0.802 MB / 0.9113 GB, free: 9.551 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7492, allocations: 4 kB / 0.9113 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000951/0.7501, allocations: 455 kB / 0.9117 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.7527, allocations: 0.5382 MB / 0.9122 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/0.7571, allocations: 2.242 MB / 0.9144 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.7577, allocations: 1.044 MB / 0.9155 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000869/0.7586, allocations: 199.2 kB / 0.9156 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.7588, allocations: 71.42 kB / 0.9157 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of SimCode: time 6.62e-07/0.7588, allocations: 0 / 0.9157 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of Templates: time 0.03312/0.792, allocations: 19.74 MB / 0.935 GB, free: 1.48 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)