Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006636/0.006636, allocations: 164.7 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.547/1.547, allocations: 170.8 MB / 186.6 MB, free: 1.148 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001642/0.001642, allocations: 107.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.376/0.376, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004701, allocations: 12 kB / 362.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 48.71 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.021/7.147, allocations: 2.486 GB / 2.888 GB, free: 48.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/7.147, allocations: 86.7 kB / 2.888 GB, free: 48.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.064/10.21, allocations: 0.7845 GB / 3.673 GB, free: 25.47 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/10.21, allocations: 0 / 3.673 GB, free: 25.47 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001566/10.21, allocations: 49.52 kB / 3.673 GB, free: 25.47 MB / 458.7 MB 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.01267/10.22, allocations: 3.041 MB / 3.676 GB, free: 24.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/10.22, allocations: 9.281 kB / 3.676 GB, free: 24.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/10.23, allocations: 0.7791 MB / 3.676 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/10.23, allocations: 1.149 MB / 3.677 GB, free: 23.67 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/10.23, allocations: 462.4 kB / 3.678 GB, free: 23.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/10.24, allocations: 165.8 kB / 3.678 GB, free: 23.35 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008978/10.24, allocations: 3.177 MB / 3.681 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-05/10.24, allocations: 13.53 kB / 3.681 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004639/10.24, allocations: 83.45 kB / 3.681 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/10.25, allocations: 80.38 kB / 3.681 GB, free: 22.61 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006749/10.25, allocations: 2.77 MB / 3.684 GB, free: 22.59 MB / 458.7 MB 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.01628/10.27, allocations: 15.48 MB / 3.699 GB, free: 27.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/10.27, allocations: 1.278 MB / 3.7 GB, free: 27.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04182/10.31, allocations: 18.22 MB / 3.718 GB, free: 19.89 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.458e-05/10.31, allocations: 45.25 kB / 3.718 GB, free: 19.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 4.328e-06/10.31, allocations: 0 / 3.718 GB, free: 19.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=117): time 0.01396/10.33, allocations: 4.804 MB / 3.723 GB, free: 19.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/10.33, allocations: 170.5 kB / 3.723 GB, free: 18.92 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/10.33, allocations: 1.062 MB / 3.724 GB, free: 18.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/10.33, allocations: 43.02 kB / 3.724 GB, free: 18.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/10.33, allocations: 0.9812 MB / 3.725 GB, free: 18.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/10.33, allocations: 416.4 kB / 3.726 GB, free: 17.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.62e-05/10.33, allocations: 48.41 kB / 3.726 GB, free: 17.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/10.33, allocations: 454.2 kB / 3.726 GB, free: 17.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/10.33, allocations: 0.6327 MB / 3.727 GB, free: 17.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/10.33, allocations: 1.94 MB / 3.729 GB, free: 15.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/10.33, allocations: 0.9931 MB / 3.73 GB, free: 15.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/10.33, allocations: 12.53 kB / 3.73 GB, free: 15.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.004441/10.34, allocations: 2.796 MB / 3.732 GB, free: 15.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/10.34, allocations: 23.66 kB / 3.732 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/10.34, allocations: 51 kB / 3.732 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/10.34, allocations: 408.3 kB / 3.733 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/10.34, allocations: 0.5154 MB / 3.733 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/10.34, allocations: 2.722 MB / 3.736 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/10.35, allocations: 198.9 kB / 3.736 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/10.35, allocations: 147.9 kB / 3.736 GB, free: 13.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.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],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],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 () * Number of clocked 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 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001156/10.35, allocations: 0.5507 MB / 3.737 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/10.35, allocations: 151.3 kB / 3.737 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/10.35, allocations: 4.649 MB / 3.741 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.924e-05/10.35, allocations: 50.69 kB / 3.741 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/10.35, allocations: 2.062 kB / 3.741 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/10.35, allocations: 11.69 kB / 3.741 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008659/10.36, allocations: 6.795 MB / 3.748 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/10.36, allocations: 6.469 kB / 3.748 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007392/10.36, allocations: 227.1 kB / 3.748 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/10.36, allocations: 402.4 kB / 3.749 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.065e-05/10.36, allocations: 30.73 kB / 3.749 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/10.37, allocations: 2.764 MB / 3.751 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/10.37, allocations: 6.812 kB / 3.751 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/10.37, allocations: 4.071 MB / 3.755 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/10.37, allocations: 442.1 kB / 3.756 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/10.37, allocations: 28.38 kB / 3.756 GB, free: 8.582 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000915/10.37, allocations: 125.9 kB / 3.756 GB, free: 8.559 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/10.37, allocations: 98.58 kB / 3.756 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/10.37, allocations: 45.98 kB / 3.756 GB, free: 8.551 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001214/10.38, allocations: 0.8179 MB / 3.757 GB, free: 8.441 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.71e-07/10.38, allocations: 0 / 3.757 GB, free: 8.441 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008042/10.38, allocations: 1.453 MB / 3.758 GB, free: 8.273 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.009177/10.39, allocations: 2.044 MB / 3.76 GB, free: 7.766 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004363/10.4, allocations: 2.176 MB / 3.762 GB, free: 7.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/10.4, allocations: 0 / 3.762 GB, free: 7.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001995/10.4, allocations: 1.306 MB / 3.764 GB, free: 7.52 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/10.4, allocations: 0.6117 MB / 3.764 GB, free: 7.484 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6356/11.04, allocations: 213.5 MB / 3.973 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009638/11.04, allocations: 1.658 MB / 3.974 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002119/11.04, allocations: 0.8814 MB / 3.975 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/11.04, allocations: 138.1 kB / 3.975 GB, free: 10.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.293e-06/11.04, allocations: 0 / 3.975 GB, free: 10.16 MB / 490.7 MB Notification: Performance of Templates: time 0.387/11.43, allocations: 58.74 MB / 4.033 GB, free: 47.63 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.pipe 2>&1)