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.001314/0.001314, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.001263/0.001263, allocations: 192 kB / 17.31 MB, free: 5.18 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002134/0.002134, allocations: 294.1 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.925/0.925, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001747, allocations: 98.98 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1773, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4732/0.6506, allocations: 190.6 MB / 0.8677 GB, free: 32 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009292/0.6599, allocations: 5.728 MB / 0.8733 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.6612, allocations: 43.75 kB / 0.8733 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.6626, allocations: 0.5785 MB / 0.8739 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003742/0.6664, allocations: 1.621 MB / 0.8755 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003009/0.6695, allocations: 1.219 MB / 0.8767 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003253/0.6727, allocations: 2.567 MB / 0.8792 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.6739, allocations: 0.8884 MB / 0.8801 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.6759, allocations: 1.039 MB / 0.8811 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.6775, allocations: 0.8106 MB / 0.8819 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.6777, allocations: 99.94 kB / 0.882 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.6805, allocations: 1.547 MB / 0.8835 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.6809, allocations: 395 kB / 0.8838 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007486/0.6817, allocations: 0.5872 MB / 0.8844 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.6845, allocations: 2.026 MB / 0.8864 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6845, allocations: 0 / 0.8864 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6845, allocations: 0 / 0.8864 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.6846, allocations: 0 / 0.8864 GB, free: 12.85 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.002316/0.6869, allocations: 1.434 MB / 0.8878 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6869, allocations: 8.031 kB / 0.8878 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002641/0.6896, allocations: 414.3 kB / 0.8882 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.6911, allocations: 0.7999 MB / 0.889 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.183e-05/0.6912, allocations: 58 kB / 0.889 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.6913, allocations: 72 kB / 0.8891 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.6931, allocations: 0.9827 MB / 0.8901 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.6931, allocations: 3.938 kB / 0.8901 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.321e-05/0.6932, allocations: 32 kB / 0.8901 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/0.6933, allocations: 30 kB / 0.8901 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.6951, allocations: 0.8783 MB / 0.891 GB, free: 8.039 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.005788/0.7009, allocations: 3.482 MB / 0.8944 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00153/0.7025, allocations: 0.6124 MB / 0.895 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007334/0.7032, allocations: 330.6 kB / 0.8953 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.7034, allocations: 101.4 kB / 0.8954 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.7034, allocations: 43.22 kB / 0.8954 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=39): time 2.344e-06/0.7034, allocations: 0 / 0.8954 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of matching and sorting (n=41): time 0.007533/0.711, allocations: 2.392 MB / 0.8978 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.711, allocations: 59.41 kB / 0.8978 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/0.712, allocations: 0.7979 MB / 0.8986 GB, free: 15.92 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.712, allocations: 33.7 kB / 0.8986 GB, free: 15.88 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.7123, allocations: 447.7 kB / 0.8991 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.7125, allocations: 145.9 kB / 0.8992 GB, free: 15.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.7127, allocations: 106.1 kB / 0.8993 GB, free: 15.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.7128, allocations: 322 kB / 0.8996 GB, free: 14.86 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.7135, allocations: 308.9 kB / 0.8999 GB, free: 14.56 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007855/0.7143, allocations: 404.1 kB / 0.9003 GB, free: 14.14 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.005053/0.7194, allocations: 1.879 MB / 0.9021 GB, free: 12.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.7194, allocations: 4 kB / 0.9021 GB, free: 12.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003054/0.7225, allocations: 1.042 MB / 0.9031 GB, free: 11.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7225, allocations: 12.03 kB / 0.9032 GB, free: 11.14 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.7225, allocations: 4 kB / 0.9032 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005886/0.7231, allocations: 184.7 kB / 0.9033 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.7238, allocations: 143.8 kB / 0.9035 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.7276, allocations: 2.24 MB / 0.9057 GB, free: 8.434 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/0.7285, allocations: 47.94 kB / 0.9057 GB, free: 8.387 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.7286, allocations: 24 kB / 0.9057 GB, free: 8.363 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: 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.0004108/0.729, allocations: 269.7 kB / 0.906 GB, free: 8.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.7291, allocations: 90.91 kB / 0.9061 GB, free: 8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.7293, allocations: 96.23 kB / 0.9062 GB, free: 7.902 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.7293, allocations: 4 kB / 0.9062 GB, free: 7.898 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.7293, allocations: 0 / 0.9062 GB, free: 7.898 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002757/0.7321, allocations: 0.8947 MB / 0.907 GB, free: 6.969 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00504/0.7371, allocations: 2.11 MB / 0.9091 GB, free: 4.762 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7372, allocations: 4 kB / 0.9091 GB, free: 4.758 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.7378, allocations: 128.2 kB / 0.9092 GB, free: 4.633 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.7383, allocations: 188.6 kB / 0.9094 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.7384, allocations: 12.06 kB / 0.9094 GB, free: 4.434 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.7418, allocations: 2.187 MB / 0.9116 GB, free: 2.102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7418, allocations: 7.938 kB / 0.9116 GB, free: 2.094 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.7454, allocations: 1.413 MB / 0.9129 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.7458, allocations: 244 kB / 0.9132 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.746, allocations: 11.98 kB / 0.9132 GB, free: 360 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.7468, allocations: 59.92 kB / 0.9132 GB, free: 300 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.7469, allocations: 39.84 kB / 0.9133 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/0.747, allocations: 31.97 kB / 0.9133 GB, free: 228 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006455/0.7476, allocations: 0.5575 MB / 0.9139 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7476, allocations: 0 / 0.9139 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007974/0.7484, allocations: 276 kB / 0.9141 GB, free: 15.4 MB / 0.6856 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.0004379/0.7489, allocations: 206.8 kB / 0.9143 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.7508, allocations: 0.8092 MB / 0.9151 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7508, allocations: 0.5 kB / 0.9151 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009091/0.7517, allocations: 459.1 kB / 0.9156 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002146/0.7539, allocations: 0.5436 MB / 0.9161 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.7578, allocations: 1.904 MB / 0.9179 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.7584, allocations: 1.04 MB / 0.919 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005955/0.759, allocations: 203.2 kB / 0.9191 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.7592, allocations: 71.42 kB / 0.9192 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of SimCode: time 1.694e-06/0.7592, allocations: 0 / 0.9192 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of Templates: time 0.03066/0.7899, allocations: 20.63 MB / 0.9394 GB, free: 5.762 MB / 0.7012 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)