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.000991/0.0009909, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.499/1.499, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008559/0.0008563, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2219/0.2219, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 58.86 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.194/8.326, allocations: 3.164 GB / 3.643 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/8.326, allocations: 83.39 kB / 3.643 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 11.17/19.5, allocations: 3.1 GB / 6.743 GB, free: 58.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.184e-06/19.5, allocations: 3.312 kB / 6.743 GB, free: 58.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003638/19.5, allocations: 68.95 kB / 6.743 GB, free: 58.67 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.01863/19.52, allocations: 3.902 MB / 6.747 GB, free: 56.71 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/19.52, allocations: 11.19 kB / 6.747 GB, free: 56.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/19.52, allocations: 310.7 kB / 6.747 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009135/19.53, allocations: 2.105 MB / 6.749 GB, free: 56.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/19.53, allocations: 217 kB / 6.749 GB, free: 56.04 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/19.53, allocations: 200.5 kB / 6.749 GB, free: 56.03 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01036/19.54, allocations: 3.352 MB / 6.753 GB, free: 55.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/19.54, allocations: 2.484 kB / 6.753 GB, free: 55.53 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009223/19.54, allocations: 85.09 kB / 6.753 GB, free: 55.53 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/19.54, allocations: 203.5 kB / 6.753 GB, free: 55.52 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007806/19.55, allocations: 3.104 MB / 6.756 GB, free: 55.48 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.0254/19.58, allocations: 12.44 MB / 6.768 GB, free: 49.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/19.58, allocations: 2.243 MB / 6.77 GB, free: 48.58 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01186/19.59, allocations: 5.895 MB / 6.776 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/19.59, allocations: 54.58 kB / 6.776 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001806/19.59, allocations: 193.4 kB / 6.776 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=174): time 1.013e-05/19.59, allocations: 0 / 6.776 GB, free: 44.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=200): time 0.03412/19.63, allocations: 10.73 MB / 6.787 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/19.63, allocations: 124.8 kB / 6.787 GB, free: 35.92 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/19.63, allocations: 1.68 MB / 6.788 GB, free: 34.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005064/19.63, allocations: 61.7 kB / 6.788 GB, free: 34.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000871/19.63, allocations: 1.023 MB / 6.789 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009523/19.63, allocations: 0.6931 MB / 6.79 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/19.64, allocations: 47.94 kB / 6.79 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002051/19.64, allocations: 399.3 kB / 6.791 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/19.64, allocations: 1.232 MB / 6.792 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/19.64, allocations: 1.742 MB / 6.794 GB, free: 29.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002448/19.64, allocations: 1.48 MB / 6.795 GB, free: 28.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/19.64, allocations: 4 kB / 6.795 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008614/19.65, allocations: 3.977 MB / 6.799 GB, free: 24.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00146/19.65, allocations: 5.796 MB / 6.804 GB, free: 18.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/19.65, allocations: 16 kB / 6.805 GB, free: 18.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004813/19.66, allocations: 1.218 MB / 6.806 GB, free: 17.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002648/19.66, allocations: 473.8 kB / 6.806 GB, free: 17.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009206/19.67, allocations: 10.62 MB / 6.817 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003723/19.67, allocations: 203.5 kB / 6.817 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008428/19.67, allocations: 105.8 kB / 6.817 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/19.67, allocations: 4 kB / 6.817 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008352/19.68, allocations: 3.571 MB / 6.82 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.927e-05/19.68, allocations: 12 kB / 6.82 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002779/19.69, allocations: 0.8935 MB / 6.821 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/19.69, allocations: 0.4921 MB / 6.822 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3851/20.07, allocations: 10.3 MB / 6.832 GB, free: 47.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003315/20.08, allocations: 193.8 kB / 6.832 GB, free: 47.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/20.08, allocations: 107.2 kB / 6.832 GB, free: 47.92 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.001903/20.08, allocations: 0.7012 MB / 6.833 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/20.08, allocations: 234.2 kB / 6.833 GB, free: 47.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007662/20.09, allocations: 4.071 MB / 6.837 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.763e-05/20.09, allocations: 23.03 kB / 6.837 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/20.09, allocations: 3.719 kB / 6.837 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005978/20.09, allocations: 3.462 MB / 6.84 GB, free: 47.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/20.11, allocations: 6.446 MB / 6.847 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/20.11, allocations: 0 / 6.847 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/20.11, allocations: 321 kB / 6.847 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005147/20.11, allocations: 1.278 MB / 6.848 GB, free: 46.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004303/20.11, allocations: 77.92 kB / 6.848 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009201/20.12, allocations: 10.59 MB / 6.859 GB, free: 38.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/20.12, allocations: 0 / 6.859 GB, free: 38.72 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/20.14, allocations: 5.275 MB / 6.864 GB, free: 38.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002496/20.14, allocations: 0.6333 MB / 6.864 GB, free: 38.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/20.14, allocations: 56.98 kB / 6.864 GB, free: 38.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/20.14, allocations: 164.3 kB / 6.865 GB, free: 38.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006286/20.14, allocations: 176.8 kB / 6.865 GB, free: 38.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000411/20.14, allocations: 79.05 kB / 6.865 GB, free: 38.24 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003216/20.15, allocations: 1.266 MB / 6.866 GB, free: 38.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/20.15, allocations: 0 / 6.866 GB, free: 38.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01083/20.16, allocations: 1.982 MB / 6.868 GB, free: 38.1 MB / 0.5417 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.005379/20.16, allocations: 1.361 MB / 6.869 GB, free: 37.97 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01274/20.17, allocations: 6.13 MB / 6.875 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/20.17, allocations: 3.969 kB / 6.875 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004506/20.18, allocations: 2.267 MB / 6.878 GB, free: 36.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/20.18, allocations: 0.9259 MB / 6.878 GB, free: 36.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/20.2, allocations: 6.651 MB / 6.885 GB, free: 33.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/20.2, allocations: 1.94 MB / 6.887 GB, free: 33.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0057/20.21, allocations: 1.209 MB / 6.888 GB, free: 33.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/20.21, allocations: 210.3 kB / 6.888 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.222e-06/20.21, allocations: 0 / 6.888 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.1077/20.32, allocations: 64.03 MB / 6.951 GB, free: 30.08 MB / 0.5417 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)