Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.0008735/0.0008736, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.368/1.368, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007049/0.000705, allocations: 87.41 kB / 271.9 MB, free: 8.254 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.3064/0.3064, allocations: 43.56 MB / 363.8 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003817, allocations: 23.98 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 58.84 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.566/6.683, allocations: 3.165 GB / 3.644 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/6.684, allocations: 81.02 kB / 3.645 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.525/13.21, allocations: 2.312 GB / 5.956 GB, free: 54.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.365e-06/13.21, allocations: 0 / 5.956 GB, free: 54.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002575/13.21, allocations: 70.52 kB / 5.956 GB, free: 54.35 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.01526/13.22, allocations: 3.868 MB / 5.96 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/13.22, allocations: 10.31 kB / 5.96 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/13.23, allocations: 324.6 kB / 5.96 GB, free: 52.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005862/13.23, allocations: 2.208 MB / 5.963 GB, free: 51.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/13.23, allocations: 223.7 kB / 5.963 GB, free: 51.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007224/13.23, allocations: 197.1 kB / 5.963 GB, free: 51.65 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005237/13.24, allocations: 3.365 MB / 5.966 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/13.24, allocations: 10.58 kB / 5.966 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/13.24, allocations: 82.59 kB / 5.966 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002181/13.24, allocations: 204 kB / 5.967 GB, free: 51.16 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004799/13.24, allocations: 3.103 MB / 5.97 GB, free: 51.14 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.01786/13.26, allocations: 12.3 MB / 5.982 GB, free: 46.13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/13.27, allocations: 2.25 MB / 5.984 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/13.27, allocations: 1.376 MB / 5.985 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008655/13.28, allocations: 5.816 MB / 5.991 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/13.28, allocations: 56.97 kB / 5.991 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001114/13.28, allocations: 194.1 kB / 5.991 GB, free: 43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=172): time 5.42e-06/13.28, allocations: 0 / 5.991 GB, free: 43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=198): time 0.02884/13.31, allocations: 10.76 MB / 6.002 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/13.31, allocations: 129.4 kB / 6.002 GB, free: 41.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/13.31, allocations: 1.868 MB / 6.004 GB, free: 41.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/13.31, allocations: 63.3 kB / 6.004 GB, free: 41.42 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005839/13.31, allocations: 1.043 MB / 6.005 GB, free: 41.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/13.31, allocations: 0.6776 MB / 6.005 GB, free: 40.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/13.31, allocations: 45.81 kB / 6.005 GB, free: 40.58 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001251/13.31, allocations: 400.2 kB / 6.006 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/13.31, allocations: 1.219 MB / 6.007 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/13.31, allocations: 1.743 MB / 6.009 GB, free: 39.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00381/13.32, allocations: 3.044 MB / 6.012 GB, free: 38.37 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/13.32, allocations: 3.906 kB / 6.012 GB, free: 38.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.006943/13.33, allocations: 3.956 MB / 6.015 GB, free: 36.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002643/13.33, allocations: 0.5139 MB / 6.016 GB, free: 36.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/13.33, allocations: 15.66 kB / 6.016 GB, free: 36.31 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004451/13.33, allocations: 1.235 MB / 6.017 GB, free: 36.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002223/13.33, allocations: 475 kB / 6.018 GB, free: 36.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008185/13.34, allocations: 10.52 MB / 6.028 GB, free: 26.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/13.34, allocations: 200.9 kB / 6.028 GB, free: 26.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003658/13.34, allocations: 112 kB / 6.028 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/13.34, allocations: 3.969 kB / 6.028 GB, free: 26.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006209/13.35, allocations: 3.536 MB / 6.032 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/13.35, allocations: 14.09 kB / 6.032 GB, free: 25.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/13.35, allocations: 0.8792 MB / 6.033 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/13.36, allocations: 0.491 MB / 6.033 GB, free: 25.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/13.36, allocations: 10.2 MB / 6.043 GB, free: 16.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/13.37, allocations: 195.3 kB / 6.043 GB, free: 16.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003247/13.37, allocations: 103 kB / 6.043 GB, free: 16.09 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.001747/13.37, allocations: 0.7044 MB / 6.044 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005603/13.37, allocations: 233.3 kB / 6.044 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007099/13.37, allocations: 3.97 MB / 6.048 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/13.38, allocations: 27.19 kB / 6.048 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/13.38, allocations: 5.922 kB / 6.048 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005116/13.38, allocations: 3.381 MB / 6.051 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/13.39, allocations: 6.371 MB / 6.058 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/13.39, allocations: 0 / 6.058 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/13.39, allocations: 321.3 kB / 6.058 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004201/13.4, allocations: 1.24 MB / 6.059 GB, free: 9.289 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003421/13.4, allocations: 72.94 kB / 6.059 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/13.4, allocations: 10.47 MB / 6.069 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/13.4, allocations: 0 / 6.069 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009495/13.41, allocations: 5.234 MB / 6.075 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/13.42, allocations: 0.6118 MB / 6.075 GB, free: 9.602 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006775/13.42, allocations: 51.56 kB / 6.075 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001804/13.42, allocations: 155.4 kB / 6.075 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004347/13.42, allocations: 168.1 kB / 6.075 GB, free: 9.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002166/13.42, allocations: 84.66 kB / 6.076 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002017/13.42, allocations: 1.283 MB / 6.077 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.61e-07/13.42, allocations: 0 / 6.077 GB, free: 8.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007217/13.43, allocations: 1.938 MB / 6.079 GB, free: 6.277 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.003648/13.43, allocations: 1.293 MB / 6.08 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3099/13.74, allocations: 6.079 MB / 6.086 GB, free: 61.56 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/13.74, allocations: 2.281 kB / 6.086 GB, free: 61.56 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005206/13.75, allocations: 2.247 MB / 6.088 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005533/13.75, allocations: 0.963 MB / 6.089 GB, free: 61.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/13.76, allocations: 6.695 MB / 6.096 GB, free: 58.78 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/13.76, allocations: 1.86 MB / 6.097 GB, free: 58.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/13.77, allocations: 235 kB / 6.098 GB, free: 58.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.142e-06/13.77, allocations: 3.875 kB / 6.098 GB, free: 58.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.1327/13.9, allocations: 125.2 MB / 6.22 GB, free: 40.39 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)