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.001488/0.001487, allocations: 185.7 kB / 16.4 MB, free: 5.746 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001102/0.001102, allocations: 88.42 kB / 270.9 MB, free: 8.371 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.5049/0.5049, allocations: 43.56 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007841/0.0007841, allocations: 15.98 kB / 431.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1267, allocations: 58.84 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.512/9.639, allocations: 3.164 GB / 3.643 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/9.639, allocations: 85.53 kB / 3.643 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 13.47/23.11, allocations: 3.1 GB / 6.743 GB, free: 44.09 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.856e-06/23.11, allocations: 0 / 6.743 GB, free: 44.09 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003487/23.11, allocations: 66.83 kB / 6.743 GB, free: 44.07 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.01949/23.13, allocations: 3.907 MB / 6.747 GB, free: 42.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/23.13, allocations: 11.06 kB / 6.747 GB, free: 42.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/23.13, allocations: 314.1 kB / 6.747 GB, free: 41.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008924/23.14, allocations: 2.102 MB / 6.749 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/23.14, allocations: 224.2 kB / 6.749 GB, free: 41.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/23.14, allocations: 190.6 kB / 6.749 GB, free: 41.34 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01002/23.15, allocations: 3.349 MB / 6.753 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/23.15, allocations: 11.72 kB / 6.753 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005392/23.15, allocations: 86.94 kB / 6.753 GB, free: 40.82 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003819/23.15, allocations: 202.5 kB / 6.753 GB, free: 40.81 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009782/23.16, allocations: 3.102 MB / 6.756 GB, free: 40.26 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.03243/23.2, allocations: 12.44 MB / 6.768 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006666/23.2, allocations: 2.244 MB / 6.77 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/23.22, allocations: 5.886 MB / 6.776 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/23.22, allocations: 52.56 kB / 6.776 GB, free: 25.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001582/23.22, allocations: 197.2 kB / 6.776 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=174): time 5.911e-06/23.22, allocations: 0 / 6.776 GB, free: 25.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=200): time 0.05258/23.27, allocations: 10.72 MB / 6.787 GB, free: 16.36 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/23.27, allocations: 124.8 kB / 6.787 GB, free: 16.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/23.27, allocations: 1.672 MB / 6.788 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000679/23.28, allocations: 65.08 kB / 6.788 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/23.28, allocations: 0.9587 MB / 6.789 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/23.28, allocations: 0.6895 MB / 6.79 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/23.28, allocations: 52 kB / 6.79 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001732/23.28, allocations: 407.3 kB / 6.791 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/23.28, allocations: 1.23 MB / 6.792 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/23.29, allocations: 1.745 MB / 6.793 GB, free: 10 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004177/23.29, allocations: 1.474 MB / 6.795 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/23.29, allocations: 4 kB / 6.795 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.012/23.3, allocations: 3.85 MB / 6.799 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.4192/23.72, allocations: 5.571 MB / 6.804 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/23.72, allocations: 12.62 kB / 6.804 GB, free: 40.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008535/23.73, allocations: 1.214 MB / 6.805 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/23.73, allocations: 471.5 kB / 6.806 GB, free: 40.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/23.75, allocations: 10.62 MB / 6.816 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004635/23.75, allocations: 205.1 kB / 6.816 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009345/23.75, allocations: 108.5 kB / 6.816 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/23.75, allocations: 4.125 kB / 6.816 GB, free: 32.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01275/23.77, allocations: 3.569 MB / 6.82 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-05/23.77, allocations: 11.56 kB / 6.82 GB, free: 32.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/23.77, allocations: 0.87 MB / 6.821 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004605/23.78, allocations: 492.3 kB / 6.821 GB, free: 32.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/23.79, allocations: 10.29 MB / 6.831 GB, free: 24.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/23.79, allocations: 197.6 kB / 6.831 GB, free: 24.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006437/23.79, allocations: 106.4 kB / 6.832 GB, free: 24.68 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 15,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002555/23.8, allocations: 0.7139 MB / 6.832 GB, free: 24.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000831/23.8, allocations: 228.5 kB / 6.832 GB, free: 24.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/23.81, allocations: 4.066 MB / 6.836 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-05/23.81, allocations: 25.28 kB / 6.836 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/23.81, allocations: 3.188 kB / 6.836 GB, free: 24.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01178/23.82, allocations: 3.462 MB / 6.84 GB, free: 23.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02088/23.84, allocations: 6.449 MB / 6.846 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/23.84, allocations: 4.781 kB / 6.846 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003096/23.85, allocations: 316.3 kB / 6.846 GB, free: 23.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008451/23.86, allocations: 1.271 MB / 6.848 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007775/23.86, allocations: 78.53 kB / 6.848 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/23.87, allocations: 10.59 MB / 6.858 GB, free: 31.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/23.87, allocations: 3.062 kB / 6.858 GB, free: 31.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01712/23.89, allocations: 5.278 MB / 6.863 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002684/23.89, allocations: 0.6362 MB / 6.864 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009771/23.89, allocations: 60.22 kB / 6.864 GB, free: 30.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/23.9, allocations: 158.1 kB / 6.864 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000894/23.9, allocations: 174.8 kB / 6.864 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004037/23.9, allocations: 81 kB / 6.864 GB, free: 30.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003215/23.9, allocations: 1.271 MB / 6.866 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.62e-07/23.9, allocations: 0 / 6.866 GB, free: 30.74 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01087/23.91, allocations: 1.979 MB / 6.868 GB, free: 30.74 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 (184): * Single equations (assignments): 170 * 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%) 2,(1,100.0%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.006072/23.92, allocations: 1.362 MB / 6.869 GB, free: 30.61 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01948/23.94, allocations: 6.108 MB / 6.875 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/23.94, allocations: 0 / 6.875 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007741/23.94, allocations: 2.265 MB / 6.877 GB, free: 28.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008744/23.95, allocations: 0.9182 MB / 6.878 GB, free: 28.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/23.97, allocations: 6.73 MB / 6.884 GB, free: 26.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003915/23.98, allocations: 1.91 MB / 6.886 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001859/23.98, allocations: 231.4 kB / 6.887 GB, free: 25.72 MB / 0.5573 GB Notification: Performance of SimCode: time 1.473e-06/23.98, allocations: 0 / 6.887 GB, free: 25.72 MB / 0.5573 GB Notification: Performance of Templates: time 0.2043/24.18, allocations: 120.8 MB / 7.004 GB, free: 12.33 MB / 0.573 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)