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.001075/0.001076, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001054/0.001054, allocations: 187.2 kB / 16.25 MB, free: 6.625 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00217/0.00217, allocations: 283.2 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9881/0.9881, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 91.64 kB / 0.5947 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1693, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4863/0.6556, allocations: 188.1 MB / 0.8633 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009493/0.6651, allocations: 5.692 MB / 0.8689 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.6677, allocations: 37.94 kB / 0.8689 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.6699, allocations: 0.5088 MB / 0.8694 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.6753, allocations: 1.534 MB / 0.8709 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.6784, allocations: 1.107 MB / 0.872 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.6814, allocations: 2.56 MB / 0.8745 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001036/0.6825, allocations: 0.8614 MB / 0.8753 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.6842, allocations: 1.045 MB / 0.8763 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.6857, allocations: 0.8618 MB / 0.8772 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.6858, allocations: 100.2 kB / 0.8773 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.6885, allocations: 1.609 MB / 0.8788 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.6889, allocations: 410.9 kB / 0.8792 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006112/0.6895, allocations: 0.5885 MB / 0.8798 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.692, allocations: 2.095 MB / 0.8819 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.692, allocations: 0 / 0.8819 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.692, allocations: 0 / 0.8819 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.692, allocations: 0 / 0.8819 GB, free: 5.406 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.00216/0.6942, allocations: 1.435 MB / 0.8833 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6942, allocations: 9.75 kB / 0.8833 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002608/0.6968, allocations: 417.3 kB / 0.8837 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.6981, allocations: 0.7642 MB / 0.8844 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.6985, allocations: 119.7 kB / 0.8845 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.6986, allocations: 71.66 kB / 0.8846 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.7004, allocations: 0.998 MB / 0.8856 GB, free: 2.871 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.7004, allocations: 4 kB / 0.8856 GB, free: 2.867 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/0.7005, allocations: 35.55 kB / 0.8856 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.7006, allocations: 26.91 kB / 0.8856 GB, free: 2.836 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.7025, allocations: 0.8852 MB / 0.8865 GB, free: 2.41 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.006006/0.7085, allocations: 3.498 MB / 0.8899 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.7102, allocations: 0.6229 MB / 0.8905 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007499/0.7109, allocations: 347.6 kB / 0.8909 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.7111, allocations: 107.5 kB / 0.891 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.7111, allocations: 37.34 kB / 0.891 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.004e-06/0.7112, allocations: 0 / 0.891 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41): time 0.008076/0.7192, allocations: 2.428 MB / 0.8934 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.7193, allocations: 55.41 kB / 0.8934 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009574/0.7202, allocations: 0.7863 MB / 0.8942 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.7203, allocations: 37.7 kB / 0.8942 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003127/0.7206, allocations: 451.6 kB / 0.8947 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.7208, allocations: 145.9 kB / 0.8948 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.721, allocations: 106.1 kB / 0.8949 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7211, allocations: 330 kB / 0.8952 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.7219, allocations: 304.9 kB / 0.8955 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/0.7228, allocations: 416.1 kB / 0.8959 GB, free: 9.918 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.005428/0.7282, allocations: 1.898 MB / 0.8977 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7282, allocations: 0.75 kB / 0.8977 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003216/0.7315, allocations: 1.05 MB / 0.8988 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.7315, allocations: 4 kB / 0.8988 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.7315, allocations: 4 kB / 0.8988 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/0.7321, allocations: 188.8 kB / 0.899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.7328, allocations: 151 kB / 0.8991 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004069/0.7369, allocations: 2.239 MB / 0.9013 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.738, allocations: 79.83 kB / 0.9014 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.7381, allocations: 20 kB / 0.9014 GB, free: 4.086 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.000464/0.7386, allocations: 283.1 kB / 0.9017 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.7388, allocations: 90.91 kB / 0.9017 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.739, allocations: 92.23 kB / 0.9018 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.739, allocations: 4 kB / 0.9018 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.739, allocations: 0 / 0.9018 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00281/0.7418, allocations: 0.9142 MB / 0.9027 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005687/0.7475, allocations: 2.111 MB / 0.9048 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.7475, allocations: 4 kB / 0.9048 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006154/0.7482, allocations: 136.2 kB / 0.9049 GB, free: 324 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005201/0.7487, allocations: 184.7 kB / 0.9051 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.7487, allocations: 16.81 kB / 0.9051 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003627/0.7524, allocations: 2.195 MB / 0.9073 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7524, allocations: 7.938 kB / 0.9073 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.7562, allocations: 1.428 MB / 0.9087 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/0.7567, allocations: 239.9 kB / 0.9089 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.7569, allocations: 20.05 kB / 0.9089 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009756/0.7579, allocations: 88.59 kB / 0.909 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.758, allocations: 51.81 kB / 0.909 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/0.7581, allocations: 27.98 kB / 0.9091 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007044/0.7588, allocations: 0.5576 MB / 0.9096 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7588, allocations: 0 / 0.9096 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009114/0.7597, allocations: 272 kB / 0.9099 GB, free: 11.03 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.000464/0.7602, allocations: 209.6 kB / 0.9101 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002118/0.7623, allocations: 0.8369 MB / 0.9109 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.7623, allocations: 3.938 kB / 0.9109 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.7633, allocations: 463.2 kB / 0.9113 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/0.7657, allocations: 0.5539 MB / 0.9119 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/0.7703, allocations: 2.242 MB / 0.9141 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.771, allocations: 1.04 MB / 0.9151 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008349/0.7718, allocations: 203.2 kB / 0.9153 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.772, allocations: 63.42 kB / 0.9153 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.772, allocations: 4 kB / 0.9153 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of Templates: time 0.03231/0.8044, allocations: 20.52 MB / 0.9354 GB, free: 1.117 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)