Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001096/0.001096, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.45/1.45, allocations: 194.4 MB / 202.4 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 113.1 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.169/0.169, allocations: 39.94 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.599e-05, allocations: 4 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2316, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.123/6.355, allocations: 2.596 GB / 3.034 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/6.355, allocations: 82.14 kB / 3.034 GB, free: 108.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.194/9.549, allocations: 0.7951 GB / 3.829 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.176e-06/9.549, allocations: 0 / 3.829 GB, free: 38.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001959/9.549, allocations: 49.41 kB / 3.829 GB, free: 38.58 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01271/9.562, allocations: 2.969 MB / 3.832 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/9.562, allocations: 10.72 kB / 3.832 GB, free: 37.26 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007093/9.569, allocations: 0.8477 MB / 3.833 GB, free: 37.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/9.572, allocations: 1.139 MB / 3.834 GB, free: 36.82 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/9.573, allocations: 396.1 kB / 3.834 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006958/9.573, allocations: 104.3 kB / 3.834 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004271/9.578, allocations: 1.859 MB / 3.836 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004575/9.582, allocations: 2.361 MB / 3.838 GB, free: 35.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.614e-05/9.582, allocations: 15.12 kB / 3.838 GB, free: 35.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/9.583, allocations: 10.84 kB / 3.838 GB, free: 35.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/9.583, allocations: 82.03 kB / 3.838 GB, free: 35.75 MB / 0.4948 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.03567/9.618, allocations: 24.4 MB / 3.862 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/9.619, allocations: 0.6758 MB / 3.863 GB, free: 20.33 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/9.62, allocations: 346.2 kB / 3.863 GB, free: 20.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04246/9.662, allocations: 18.4 MB / 3.881 GB, free: 28.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/9.662, allocations: 47.03 kB / 3.881 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 2.725e-06/9.662, allocations: 0 / 3.881 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.009533/9.672, allocations: 3.318 MB / 3.885 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/9.672, allocations: 169 kB / 3.885 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/9.674, allocations: 1.001 MB / 3.886 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.761e-05/9.674, allocations: 29.08 kB / 3.886 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006631/9.674, allocations: 0.9921 MB / 3.887 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/9.675, allocations: 388.5 kB / 3.887 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/9.675, allocations: 0 / 3.887 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002488/9.675, allocations: 459.3 kB / 3.888 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006558/9.676, allocations: 0.4906 MB / 3.888 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/9.677, allocations: 1.779 MB / 3.89 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/9.679, allocations: 0.8777 MB / 3.891 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/9.679, allocations: 13.44 kB / 3.891 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.003807/9.682, allocations: 2.31 MB / 3.893 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.6e-05/9.682, allocations: 23.38 kB / 3.893 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-05/9.682, allocations: 44.12 kB / 3.893 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009261/9.683, allocations: 393.9 kB / 3.893 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/9.685, allocations: 0.5172 MB / 3.894 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/9.687, allocations: 2.777 MB / 3.897 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/9.689, allocations: 167.2 kB / 3.897 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/9.689, allocations: 143.8 kB / 3.897 GB, free: 21.93 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004285/9.69, allocations: 238.5 kB / 3.897 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/9.69, allocations: 150.7 kB / 3.897 GB, free: 21.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/9.694, allocations: 3.98 MB / 3.901 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/9.694, allocations: 40.86 kB / 3.901 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/9.694, allocations: 0 / 3.901 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/9.694, allocations: 7.125 kB / 3.901 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006768/9.701, allocations: 5.864 MB / 3.907 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/9.701, allocations: 3.625 kB / 3.907 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/9.702, allocations: 204.3 kB / 3.907 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/9.703, allocations: 384.1 kB / 3.907 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/9.703, allocations: 12.94 kB / 3.907 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/9.705, allocations: 2.877 MB / 3.91 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/9.705, allocations: 3.875 kB / 3.91 GB, free: 18.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/9.709, allocations: 3.562 MB / 3.914 GB, free: 17.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007781/9.71, allocations: 430.6 kB / 3.914 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/9.71, allocations: 13.31 kB / 3.914 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009027/9.711, allocations: 96.16 kB / 3.914 GB, free: 17.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/9.711, allocations: 83.28 kB / 3.914 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/9.711, allocations: 52.83 kB / 3.914 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001025/9.712, allocations: 0.7324 MB / 3.915 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/9.712, allocations: 4 kB / 3.915 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007046/9.719, allocations: 1.368 MB / 3.916 GB, free: 16.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00857/9.728, allocations: 2.249 MB / 3.919 GB, free: 16.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003825/9.732, allocations: 1.823 MB / 3.92 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/9.732, allocations: 3.75 kB / 3.92 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/9.733, allocations: 1.103 MB / 3.921 GB, free: 16.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003526/9.737, allocations: 0.5605 MB / 3.922 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7351/10.47, allocations: 213.7 MB / 4.131 GB, free: 41.41 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/10.47, allocations: 1.614 MB / 4.132 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002282/10.48, allocations: 0.9842 MB / 4.133 GB, free: 39.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002352/10.48, allocations: 130.5 kB / 4.133 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.774e-06/10.48, allocations: 0 / 4.133 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.4395/10.92, allocations: 49.48 MB / 4.182 GB, free: 59.51 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)