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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9815/0.9815, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 184.9 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008338/0.0008339, allocations: 92.09 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 287.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.089e-05/2.1e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5012, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.356/5.857, allocations: 1.879 GB / 2.636 GB, free: 180.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/5.857, allocations: 91.83 kB / 2.636 GB, free: 180.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.137/7.994, allocations: 0.5697 GB / 3.206 GB, free: 136.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.675e-06/7.994, allocations: 2.406 kB / 3.206 GB, free: 136.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001778/7.994, allocations: 24 kB / 3.206 GB, free: 136.6 MB / 0.698 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.004127/7.998, allocations: 1.221 MB / 3.207 GB, free: 135.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/7.998, allocations: 12.03 kB / 3.207 GB, free: 135.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003113/8.002, allocations: 420.1 kB / 3.207 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/8.004, allocations: 0.7644 MB / 3.208 GB, free: 134.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/8.004, allocations: 99.56 kB / 3.208 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/8.004, allocations: 44 kB / 3.208 GB, free: 134.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001406/8.006, allocations: 0.6626 MB / 3.209 GB, free: 133.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/8.007, allocations: 0.7746 MB / 3.21 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/8.007, allocations: 7.844 kB / 3.21 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.822e-05/8.007, allocations: 0 / 3.21 GB, free: 132.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/8.007, allocations: 37.94 kB / 3.21 GB, free: 132.6 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.005442/8.013, allocations: 3.225 MB / 3.213 GB, free: 129.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005242/8.013, allocations: 407.9 kB / 3.213 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/8.013, allocations: 227.7 kB / 3.214 GB, free: 128.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001786/8.014, allocations: 104.6 kB / 3.214 GB, free: 128.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/8.014, allocations: 40.86 kB / 3.214 GB, free: 128.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 1.763e-06/8.014, allocations: 0 / 3.214 GB, free: 128.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=41): time 0.003853/8.018, allocations: 1.426 MB / 3.215 GB, free: 127 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/8.018, allocations: 57.97 kB / 3.215 GB, free: 126.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/8.018, allocations: 0.4996 MB / 3.216 GB, free: 126.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/8.018, allocations: 25.7 kB / 3.216 GB, free: 126.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/8.019, allocations: 451 kB / 3.216 GB, free: 125.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/8.019, allocations: 138 kB / 3.216 GB, free: 125.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/8.019, allocations: 0 / 3.216 GB, free: 125.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001185/8.019, allocations: 376.1 kB / 3.217 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/8.019, allocations: 205 kB / 3.217 GB, free: 125.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/8.02, allocations: 319 kB / 3.217 GB, free: 124.9 MB / 0.698 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.002434/8.022, allocations: 0.9911 MB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/8.022, allocations: 4 kB / 3.218 GB, free: 123.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001998/8.024, allocations: 0.8053 MB / 3.219 GB, free: 123.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/8.024, allocations: 7.219 kB / 3.219 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/8.024, allocations: 4 kB / 3.219 GB, free: 123.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/8.024, allocations: 136.2 kB / 3.219 GB, free: 123 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/8.025, allocations: 133.7 kB / 3.219 GB, free: 122.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/8.027, allocations: 1.743 MB / 3.221 GB, free: 121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/8.028, allocations: 85.11 kB / 3.221 GB, free: 120.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/8.028, allocations: 20 kB / 3.221 GB, free: 120.9 MB / 0.698 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volSte.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real 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 () * 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.0002365/8.028, allocations: 131.6 kB / 3.221 GB, free: 120.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/8.029, allocations: 75.16 kB / 3.221 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/8.029, allocations: 74.86 kB / 3.221 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/8.029, allocations: 6.562 kB / 3.221 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/8.029, allocations: 0 / 3.221 GB, free: 120.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/8.03, allocations: 0.704 MB / 3.222 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/8.034, allocations: 1.668 MB / 3.223 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/8.034, allocations: 4 kB / 3.223 GB, free: 118.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005221/8.034, allocations: 115.7 kB / 3.224 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/8.035, allocations: 139.9 kB / 3.224 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/8.035, allocations: 8 kB / 3.224 GB, free: 117.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/8.037, allocations: 1.746 MB / 3.225 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/8.037, allocations: 4 kB / 3.225 GB, free: 116 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/8.039, allocations: 1.257 MB / 3.227 GB, free: 114.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/8.039, allocations: 216.2 kB / 3.227 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/8.04, allocations: 4 kB / 3.227 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/8.04, allocations: 91.72 kB / 3.227 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/8.041, allocations: 39.89 kB / 3.227 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/8.041, allocations: 31.97 kB / 3.227 GB, free: 114.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000433/8.041, allocations: 387.2 kB / 3.227 GB, free: 113.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.041, allocations: 0 / 3.227 GB, free: 113.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00139/8.042, allocations: 355.9 kB / 3.228 GB, free: 113.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete 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.002014/8.044, allocations: 1.505 MB / 3.229 GB, free: 112.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009555/8.045, allocations: 0.5771 MB / 3.23 GB, free: 111.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/8.045, allocations: 0 / 3.23 GB, free: 111.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004173/8.046, allocations: 350.8 kB / 3.23 GB, free: 111.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/8.048, allocations: 409.9 kB / 3.23 GB, free: 110.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/8.051, allocations: 1.361 MB / 3.232 GB, free: 109.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/8.052, allocations: 1.063 MB / 3.233 GB, free: 108.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008277/8.053, allocations: 177.6 kB / 3.233 GB, free: 108.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/8.053, allocations: 55.42 kB / 3.233 GB, free: 108.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/8.053, allocations: 0 / 3.233 GB, free: 108.1 MB / 0.698 GB Notification: Performance of Templates: time 0.03178/8.085, allocations: 21.93 MB / 3.255 GB, free: 86.58 MB / 0.698 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)