Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.2 MB / 245 MB, free: 5.762 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009293/0.0009297, allocations: 104.7 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3288/0.3288, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002622/0.0002622, allocations: 4 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3349, allocations: 63.25 MB / 0.5192 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.26/7.595, allocations: 3.172 GB / 3.691 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/7.596, allocations: 83.67 kB / 3.691 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 10.65/18.25, allocations: 3.117 GB / 6.808 GB, free: 8.566 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.783e-06/18.25, allocations: 0 / 6.808 GB, free: 8.566 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003475/18.25, allocations: 71.86 kB / 6.808 GB, free: 8.496 MB / 0.573 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.01608/18.26, allocations: 3.905 MB / 6.812 GB, free: 4.523 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/18.26, allocations: 11.97 kB / 6.812 GB, free: 4.512 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/18.27, allocations: 316.8 kB / 6.812 GB, free: 4.199 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006139/18.27, allocations: 2.105 MB / 6.814 GB, free: 2.039 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/18.27, allocations: 215.2 kB / 6.814 GB, free: 1.816 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/18.27, allocations: 195.9 kB / 6.815 GB, free: 1.625 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4217/18.69, allocations: 3.348 MB / 6.818 GB, free: 51.58 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.587e-05/18.69, allocations: 8.594 kB / 6.818 GB, free: 51.58 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002726/18.69, allocations: 90.86 kB / 6.818 GB, free: 51.58 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/18.69, allocations: 204.4 kB / 6.818 GB, free: 51.57 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/18.7, allocations: 3.103 MB / 6.821 GB, free: 51.56 MB / 0.573 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.01869/18.72, allocations: 12.43 MB / 6.833 GB, free: 46.81 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003429/18.72, allocations: 2.256 MB / 6.836 GB, free: 46.66 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008369/18.73, allocations: 5.885 MB / 6.841 GB, free: 43.9 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/18.73, allocations: 53.22 kB / 6.841 GB, free: 43.86 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001113/18.73, allocations: 199 kB / 6.842 GB, free: 43.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=174): time 3.377e-06/18.73, allocations: 0 / 6.842 GB, free: 43.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=200): time 0.03102/18.76, allocations: 10.73 MB / 6.852 GB, free: 42.65 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/18.76, allocations: 124.4 kB / 6.852 GB, free: 42.52 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004805/18.77, allocations: 1.671 MB / 6.854 GB, free: 42.31 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/18.77, allocations: 63.64 kB / 6.854 GB, free: 42.28 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001039/18.77, allocations: 1.031 MB / 6.855 GB, free: 41.88 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007993/18.77, allocations: 0.6912 MB / 6.856 GB, free: 41.44 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/18.77, allocations: 46.97 kB / 6.856 GB, free: 41.44 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001886/18.77, allocations: 399.2 kB / 6.856 GB, free: 41.13 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/18.77, allocations: 1.229 MB / 6.857 GB, free: 41.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/18.78, allocations: 1.74 MB / 6.859 GB, free: 40.58 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/18.78, allocations: 1.484 MB / 6.86 GB, free: 40.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/18.78, allocations: 2.75 kB / 6.86 GB, free: 40.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00819/18.79, allocations: 3.972 MB / 6.864 GB, free: 40.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/18.79, allocations: 5.805 MB / 6.87 GB, free: 34.24 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.344e-05/18.79, allocations: 13.88 kB / 6.87 GB, free: 34.24 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005042/18.79, allocations: 1.216 MB / 6.871 GB, free: 34.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/18.79, allocations: 465.5 kB / 6.872 GB, free: 34.17 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009388/18.8, allocations: 10.63 MB / 6.882 GB, free: 26.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/18.81, allocations: 196.8 kB / 6.882 GB, free: 26.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006662/18.81, allocations: 115.4 kB / 6.882 GB, free: 26.23 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/18.81, allocations: 6.219 kB / 6.882 GB, free: 26.23 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007723/18.82, allocations: 3.571 MB / 6.886 GB, free: 26.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.532e-05/18.82, allocations: 19.16 kB / 6.886 GB, free: 26.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/18.82, allocations: 0.8859 MB / 6.887 GB, free: 26.05 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/18.82, allocations: 0.4949 MB / 6.887 GB, free: 26.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009/18.83, allocations: 10.3 MB / 6.897 GB, free: 34.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/18.83, allocations: 196.4 kB / 6.897 GB, free: 34.13 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006587/18.83, allocations: 107.8 kB / 6.897 GB, free: 34.13 MB / 0.5886 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.00255/18.84, allocations: 0.7108 MB / 6.898 GB, free: 33.93 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009954/18.84, allocations: 229.4 kB / 6.898 GB, free: 33.82 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009366/18.85, allocations: 4.065 MB / 6.902 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.312e-05/18.85, allocations: 25.34 kB / 6.902 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.793e-05/18.85, allocations: 3.969 kB / 6.902 GB, free: 33.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006106/18.85, allocations: 3.47 MB / 6.906 GB, free: 33.13 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/18.87, allocations: 6.439 MB / 6.912 GB, free: 32.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/18.87, allocations: 6.906 kB / 6.912 GB, free: 32.64 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/18.87, allocations: 319.6 kB / 6.912 GB, free: 32.64 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004655/18.87, allocations: 1.265 MB / 6.914 GB, free: 32.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002503/18.87, allocations: 76.11 kB / 6.914 GB, free: 32.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/18.88, allocations: 10.58 MB / 6.924 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/18.88, allocations: 3.531 kB / 6.924 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/18.89, allocations: 5.283 MB / 6.929 GB, free: 24.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/18.9, allocations: 0.6454 MB / 6.93 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000816/18.9, allocations: 52.08 kB / 6.93 GB, free: 24.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002364/18.9, allocations: 160.7 kB / 6.93 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004266/18.9, allocations: 165.4 kB / 6.93 GB, free: 24.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002681/18.9, allocations: 81.05 kB / 6.93 GB, free: 24.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002488/18.9, allocations: 1.271 MB / 6.931 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.082e-06/18.9, allocations: 0 / 6.931 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.00834/18.91, allocations: 1.994 MB / 6.933 GB, free: 23.79 MB / 0.5886 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.00455/18.92, allocations: 1.371 MB / 6.935 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01101/18.93, allocations: 6.127 MB / 6.941 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/18.93, allocations: 3.375 kB / 6.941 GB, free: 21.76 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003988/18.93, allocations: 2.268 MB / 6.943 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004945/18.94, allocations: 0.9429 MB / 6.944 GB, free: 20.47 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/18.95, allocations: 6.651 MB / 6.95 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/18.95, allocations: 1.933 MB / 6.952 GB, free: 16.63 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004811/18.95, allocations: 1.229 MB / 6.953 GB, free: 16.56 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009259/18.96, allocations: 210.2 kB / 6.954 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of SimCode: time 1.583e-06/18.96, allocations: 0 / 6.954 GB, free: 16.54 MB / 0.5886 GB Notification: Performance of Templates: time 0.1002/19.06, allocations: 64.09 MB / 7.016 GB, free: 10.93 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)