Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002387/0.002387, allocations: 171 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007786/0.0007784, allocations: 82.38 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3413/0.3413, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004109/0.0004109, allocations: 16 kB / 432.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.84 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.683/7.81, allocations: 3.165 GB / 3.644 GB, free: 118 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/7.811, allocations: 81.45 kB / 3.645 GB, free: 118 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.2/16.01, allocations: 2.312 GB / 5.956 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.645e-06/16.01, allocations: 0 / 5.956 GB, free: 56.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003872/16.01, allocations: 67.47 kB / 5.956 GB, free: 56.61 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.01831/16.03, allocations: 3.865 MB / 5.96 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/16.03, allocations: 8.312 kB / 5.96 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/16.03, allocations: 320.8 kB / 5.961 GB, free: 54.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007803/16.04, allocations: 2.211 MB / 5.963 GB, free: 53.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/16.04, allocations: 215.5 kB / 5.963 GB, free: 53.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001413/16.04, allocations: 203.7 kB / 5.963 GB, free: 53.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01005/16.05, allocations: 3.366 MB / 5.966 GB, free: 53.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/16.05, allocations: 7.625 kB / 5.966 GB, free: 53.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/16.05, allocations: 90.98 kB / 5.966 GB, free: 53.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003401/16.05, allocations: 205.2 kB / 5.967 GB, free: 53.42 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007317/16.06, allocations: 3.103 MB / 5.97 GB, free: 53.4 MB / 0.5417 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.02901/16.09, allocations: 12.31 MB / 5.982 GB, free: 48.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004781/16.09, allocations: 2.244 MB / 5.984 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002605/16.1, allocations: 1.368 MB / 5.985 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/16.11, allocations: 5.822 MB / 5.991 GB, free: 45.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.425e-05/16.11, allocations: 66.11 kB / 5.991 GB, free: 45.36 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002255/16.11, allocations: 188.4 kB / 5.991 GB, free: 45.26 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 1.657e-05/16.11, allocations: 3.938 kB / 5.991 GB, free: 45.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.03542/16.15, allocations: 10.76 MB / 6.002 GB, free: 42.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/16.15, allocations: 123.9 kB / 6.002 GB, free: 42.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004184/16.15, allocations: 1.873 MB / 6.004 GB, free: 41.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000512/16.15, allocations: 64.67 kB / 6.004 GB, free: 41.51 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/16.15, allocations: 1.045 MB / 6.005 GB, free: 40.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00101/16.15, allocations: 0.6764 MB / 6.005 GB, free: 40.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003677/16.16, allocations: 46.12 kB / 6.005 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000263/16.16, allocations: 396.5 kB / 6.006 GB, free: 39.79 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002556/16.16, allocations: 1.22 MB / 6.007 GB, free: 39.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002823/16.16, allocations: 1.747 MB / 6.009 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004942/16.17, allocations: 3.039 MB / 6.012 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-05/16.17, allocations: 6.688 kB / 6.012 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.007891/16.17, allocations: 3.947 MB / 6.015 GB, free: 35.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000366/16.17, allocations: 0.5169 MB / 6.016 GB, free: 34.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/16.17, allocations: 15.62 kB / 6.016 GB, free: 34.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004489/16.18, allocations: 1.24 MB / 6.017 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/16.18, allocations: 469.6 kB / 6.018 GB, free: 34.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008538/16.19, allocations: 10.52 MB / 6.028 GB, free: 25.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/16.19, allocations: 196.5 kB / 6.028 GB, free: 25.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/16.19, allocations: 111 kB / 6.028 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/16.19, allocations: 5.219 kB / 6.028 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006409/16.2, allocations: 3.547 MB / 6.032 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.319e-05/16.2, allocations: 13.47 kB / 6.032 GB, free: 23.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/16.2, allocations: 0.865 MB / 6.033 GB, free: 23.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/16.2, allocations: 0.4986 MB / 6.033 GB, free: 23.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/16.21, allocations: 10.19 MB / 6.043 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/16.22, allocations: 194.2 kB / 6.043 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005362/16.22, allocations: 107.4 kB / 6.043 GB, free: 14.11 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.00272/16.22, allocations: 0.709 MB / 6.044 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008586/16.22, allocations: 225.2 kB / 6.044 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008339/16.23, allocations: 3.977 MB / 6.048 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/16.23, allocations: 26.97 kB / 6.048 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/16.23, allocations: 0 / 6.048 GB, free: 9.953 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004988/16.23, allocations: 3.389 MB / 6.051 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/16.25, allocations: 6.374 MB / 6.058 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/16.25, allocations: 0 / 6.058 GB, free: 1.828 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/16.25, allocations: 320.3 kB / 6.058 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004281/16.25, allocations: 1.244 MB / 6.059 GB, free: 0.6602 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003828/16.25, allocations: 78.86 kB / 6.059 GB, free: 0.5977 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/16.26, allocations: 10.47 MB / 6.069 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/16.26, allocations: 4.031 kB / 6.069 GB, free: 6.082 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/16.27, allocations: 5.233 MB / 6.075 GB, free: 1.562 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/16.28, allocations: 0.6108 MB / 6.075 GB, free: 1.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000926/16.28, allocations: 57.81 kB / 6.075 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/16.28, allocations: 152.2 kB / 6.075 GB, free: 0.8594 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/16.28, allocations: 185.1 kB / 6.076 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/16.28, allocations: 75.62 kB / 6.076 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.3787/16.66, allocations: 1.311 MB / 6.077 GB, free: 64.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.132e-06/16.66, allocations: 0 / 6.077 GB, free: 64.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008619/16.67, allocations: 1.93 MB / 6.079 GB, free: 64.72 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003562/16.67, allocations: 1.288 MB / 6.08 GB, free: 64.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01156/16.68, allocations: 6.092 MB / 6.086 GB, free: 63.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/16.68, allocations: 5.562 kB / 6.086 GB, free: 63.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004042/16.69, allocations: 2.245 MB / 6.088 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005111/16.69, allocations: 0.9702 MB / 6.089 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/16.7, allocations: 6.604 MB / 6.096 GB, free: 60.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001397/16.7, allocations: 1.89 MB / 6.097 GB, free: 59.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004507/16.71, allocations: 1.222 MB / 6.099 GB, free: 59.84 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006268/16.71, allocations: 209 kB / 6.099 GB, free: 59.83 MB / 0.5573 GB Notification: Performance of SimCode: time 8.32e-07/16.71, allocations: 0 / 6.099 GB, free: 59.83 MB / 0.5573 GB Notification: Performance of Templates: time 0.1008/16.81, allocations: 64.83 MB / 6.162 GB, free: 57.76 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)