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.0089/0.0089, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.844/1.844, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.00192/0.00192, allocations: 124.5 kB / 255.6 MB, free: 10.16 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.229/0.229, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 11.58 kB / 406.2 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1456, allocations: 54.88 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.802/6.948, allocations: 2.597 GB / 3.047 GB, free: 73.38 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/6.948, allocations: 92.89 kB / 3.047 GB, free: 73.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.842/9.789, allocations: 0.8052 GB / 3.852 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.623e-06/9.789, allocations: 0 / 3.852 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001703/9.79, allocations: 49.34 kB / 3.852 GB, free: 26.54 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.0123/9.802, allocations: 3.102 MB / 3.855 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/9.802, allocations: 8.031 kB / 3.855 GB, free: 23.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006765/9.809, allocations: 0.8383 MB / 3.856 GB, free: 22.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003278/9.812, allocations: 1.152 MB / 3.857 GB, free: 21.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004584/9.813, allocations: 460.2 kB / 3.858 GB, free: 20.88 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006103/9.813, allocations: 175.9 kB / 3.858 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006125/9.819, allocations: 3.178 MB / 3.861 GB, free: 17.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/9.819, allocations: 11.88 kB / 3.861 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/9.82, allocations: 80 kB / 3.861 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.105e-05/9.82, allocations: 82.66 kB / 3.861 GB, free: 17.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005799/9.825, allocations: 2.765 MB / 3.864 GB, free: 14.32 MB / 0.4948 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.0143/9.84, allocations: 15.46 MB / 3.879 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/9.843, allocations: 1.284 MB / 3.88 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.385/10.23, allocations: 18.28 MB / 3.898 GB, free: 46.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.402e-05/10.23, allocations: 45.98 kB / 3.898 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 3.116e-06/10.23, allocations: 1.812 kB / 3.898 GB, free: 46.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.01598/10.24, allocations: 4.807 MB / 3.903 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/10.24, allocations: 167.6 kB / 3.903 GB, free: 45.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/10.25, allocations: 1.06 MB / 3.904 GB, free: 45.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/10.25, allocations: 45.14 kB / 3.904 GB, free: 45.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000824/10.25, allocations: 0.9824 MB / 3.905 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/10.25, allocations: 422.5 kB / 3.905 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/10.25, allocations: 50.97 kB / 3.905 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002658/10.25, allocations: 459 kB / 3.906 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/10.25, allocations: 0.6356 MB / 3.907 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/10.25, allocations: 1.93 MB / 3.908 GB, free: 43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/10.25, allocations: 0.9948 MB / 3.909 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/10.25, allocations: 13 kB / 3.909 GB, free: 42.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.005287/10.26, allocations: 2.782 MB / 3.912 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.585e-05/10.26, allocations: 31.86 kB / 3.912 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-05/10.26, allocations: 45.72 kB / 3.912 GB, free: 42.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/10.26, allocations: 402.6 kB / 3.913 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/10.26, allocations: 0.5227 MB / 3.913 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/10.26, allocations: 2.717 MB / 3.916 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/10.27, allocations: 198.5 kB / 3.916 GB, free: 40.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/10.27, allocations: 151.1 kB / 3.916 GB, free: 40.7 MB / 0.5105 GB 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.0009561/10.27, allocations: 0.5409 MB / 3.917 GB, free: 40.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/10.27, allocations: 154.2 kB / 3.917 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/10.27, allocations: 4.652 MB / 3.921 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/10.27, allocations: 51.31 kB / 3.921 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/10.27, allocations: 5.938 kB / 3.921 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/10.27, allocations: 11.36 kB / 3.921 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008666/10.28, allocations: 6.805 MB / 3.928 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/10.28, allocations: 0 / 3.928 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/10.28, allocations: 226.2 kB / 3.928 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/10.28, allocations: 399.6 kB / 3.929 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.099e-05/10.28, allocations: 34.91 kB / 3.929 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/10.29, allocations: 2.762 MB / 3.931 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/10.29, allocations: 6.312 kB / 3.931 GB, free: 37.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005446/10.29, allocations: 4.069 MB / 3.935 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/10.29, allocations: 446 kB / 3.936 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000188/10.29, allocations: 26.78 kB / 3.936 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009771/10.29, allocations: 115.7 kB / 3.936 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/10.29, allocations: 102.1 kB / 3.936 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/10.29, allocations: 42.83 kB / 3.936 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00117/10.3, allocations: 0.8187 MB / 3.937 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/10.3, allocations: 3.625 kB / 3.937 GB, free: 36.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008287/10.3, allocations: 1.467 MB / 3.938 GB, free: 36.12 MB / 0.5105 GB 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.00853/10.31, allocations: 2.068 MB / 3.94 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004311/10.32, allocations: 2.169 MB / 3.942 GB, free: 35.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/10.32, allocations: 3.312 kB / 3.942 GB, free: 35.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/10.32, allocations: 1.313 MB / 3.944 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/10.32, allocations: 0.6054 MB / 3.944 GB, free: 35.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6863/11.01, allocations: 217.9 MB / 4.157 GB, free: 60.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/11.01, allocations: 1.65 MB / 4.159 GB, free: 59.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002419/11.01, allocations: 0.8916 MB / 4.16 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/11.01, allocations: 127.1 kB / 4.16 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.493e-06/11.01, allocations: 0 / 4.16 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.07954/11.09, allocations: 58.95 MB / 4.217 GB, free: 49.94 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)