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.0006964/0.0006964, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.0008579/0.0008579, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001776/0.001776, allocations: 270.5 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 21.27 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1325, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.4312/0.5637, allocations: 173.4 MB / 0.8538 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007935/0.5717, allocations: 5.41 MB / 0.8591 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009481/0.5727, allocations: 34.12 kB / 0.8591 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.5738, allocations: 392.9 kB / 0.8595 GB, free: 6.535 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002954/0.5768, allocations: 1.223 MB / 0.8607 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.5792, allocations: 0.8956 MB / 0.8616 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002952/0.5822, allocations: 2.997 MB / 0.8645 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008961/0.5831, allocations: 0.6607 MB / 0.8651 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.5845, allocations: 0.8521 MB / 0.866 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.5855, allocations: 0.769 MB / 0.8667 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.5856, allocations: 38.88 kB / 0.8668 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00195/0.5876, allocations: 0.9209 MB / 0.8677 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.588, allocations: 343.6 kB / 0.868 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.5882, allocations: 236.4 kB / 0.8682 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.5896, allocations: 1.394 MB / 0.8696 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5896, allocations: 0 / 0.8696 GB, free: 224 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5896, allocations: 3.938 kB / 0.8696 GB, free: 220 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.772e-05/0.5897, allocations: 4 kB / 0.8696 GB, free: 216 kB / 0.5762 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.001888/0.5915, allocations: 1.235 MB / 0.8708 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.5916, allocations: 10.84 kB / 0.8708 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.5941, allocations: 443.9 kB / 0.8712 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5953, allocations: 0.7421 MB / 0.8719 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.5957, allocations: 123.8 kB / 0.8721 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5958, allocations: 71.5 kB / 0.8721 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/0.5975, allocations: 1.006 MB / 0.8731 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.5976, allocations: 3.984 kB / 0.8731 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.5977, allocations: 35.89 kB / 0.8731 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.5977, allocations: 33.52 kB / 0.8732 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.5995, allocations: 0.9038 MB / 0.8741 GB, free: 13.37 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.005461/0.605, allocations: 3.532 MB / 0.8775 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.6066, allocations: 0.6516 MB / 0.8781 GB, free: 9.766 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000764/0.6073, allocations: 357.9 kB / 0.8785 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.6075, allocations: 105.4 kB / 0.8786 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6076, allocations: 39.22 kB / 0.8786 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 3.436e-06/0.6076, allocations: 3.984 kB / 0.8786 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.007528/0.6151, allocations: 2.523 MB / 0.8811 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.6152, allocations: 55.41 kB / 0.8811 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/0.6161, allocations: 0.7901 MB / 0.8819 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.864e-05/0.6162, allocations: 37.7 kB / 0.882 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.6165, allocations: 447.6 kB / 0.8824 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.6166, allocations: 149.9 kB / 0.8825 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.6167, allocations: 16 kB / 0.8825 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6168, allocations: 322 kB / 0.8828 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007638/0.6175, allocations: 320.9 kB / 0.8831 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008202/0.6184, allocations: 432 kB / 0.8836 GB, free: 4.031 MB / 0.5919 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.003634/0.622, allocations: 1.312 MB / 0.8848 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.622, allocations: 0 / 0.8848 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002992/0.625, allocations: 1.089 MB / 0.8859 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.6251, allocations: 4 kB / 0.8859 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6251, allocations: 7.984 kB / 0.8859 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/0.6256, allocations: 194.6 kB / 0.8861 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.6264, allocations: 167.8 kB / 0.8863 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.6298, allocations: 2.103 MB / 0.8883 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009442/0.6307, allocations: 97.66 kB / 0.8884 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/0.6308, allocations: 23.98 kB / 0.8884 GB, free: 14.89 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004224/0.6312, allocations: 273.6 kB / 0.8887 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6314, allocations: 86.97 kB / 0.8888 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.6316, allocations: 96.23 kB / 0.8889 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.6316, allocations: 7.953 kB / 0.8889 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.6316, allocations: 0 / 0.8889 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002694/0.6343, allocations: 0.9455 MB / 0.8898 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004918/0.6392, allocations: 2.185 MB / 0.8919 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.6393, allocations: 0 / 0.8919 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.6399, allocations: 152.2 kB / 0.8921 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.6404, allocations: 188.7 kB / 0.8923 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.107e-05/0.6405, allocations: 15.98 kB / 0.8923 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/0.6437, allocations: 2.069 MB / 0.8943 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/0.6437, allocations: 11.89 kB / 0.8943 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.6473, allocations: 1.487 MB / 0.8958 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.6477, allocations: 235.9 kB / 0.896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.6478, allocations: 15.98 kB / 0.896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/0.6487, allocations: 92.55 kB / 0.8961 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.6488, allocations: 43.83 kB / 0.8961 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.6489, allocations: 23.98 kB / 0.8962 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006961/0.6496, allocations: 0.5536 MB / 0.8967 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6496, allocations: 4 kB / 0.8967 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001018/0.6506, allocations: 268 kB / 0.897 GB, free: 5.809 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005634/0.6512, allocations: 217.6 kB / 0.8972 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.6533, allocations: 0.8288 MB / 0.898 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.6533, allocations: 0 / 0.898 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/0.6542, allocations: 483 kB / 0.8984 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.6567, allocations: 0.5351 MB / 0.899 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.6609, allocations: 2.246 MB / 0.9011 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.6615, allocations: 1.036 MB / 0.9022 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008402/0.6623, allocations: 211.1 kB / 0.9024 GB, free: 160 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.6625, allocations: 63.44 kB / 0.9024 GB, free: 96 kB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.6625, allocations: 4 kB / 0.9024 GB, free: 92 kB / 0.6075 GB Notification: Performance of Templates: time 0.02995/0.6925, allocations: 19.08 MB / 0.921 GB, free: 13.31 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)