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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0007882/0.0007882, allocations: 94.58 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009808/0.0009808, allocations: 202.6 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.7 MB / 247.5 MB, free: 10.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 46.18 MB / 345.9 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 63.56 MB / 483.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.3113/0.4245, allocations: 94.1 MB / 0.5643 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03291/0.4574, allocations: 22.35 MB / 0.5861 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003852/0.4613, allocations: 107.1 kB / 0.5862 GB, free: 15.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.4642, allocations: 0.8159 MB / 0.587 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.475, allocations: 3.528 MB / 0.5905 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0129/0.4879, allocations: 4.956 MB / 0.5953 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01233/0.5002, allocations: 10.74 MB / 0.6058 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/0.5038, allocations: 1.594 MB / 0.6073 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1547/0.6586, allocations: 73.46 MB / 0.6791 GB, free: 15.15 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3324/0.991, allocations: 31.96 MB / 0.7103 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007706/0.9918, allocations: 131.5 kB / 0.7104 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01471/1.007, allocations: 5.98 MB / 0.7163 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002618/1.009, allocations: 0.9657 MB / 0.7172 GB, free: 101.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002764/1.012, allocations: 1.395 MB / 0.7186 GB, free: 101.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007334/1.019, allocations: 3.952 MB / 0.7224 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.019, allocations: 0.75 kB / 0.7224 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.795e-06/1.019, allocations: 0 / 0.7224 GB, free: 101.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.855e-05/1.019, allocations: 0 / 0.7224 GB, free: 101.6 MB / 0.5294 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.008793/1.028, allocations: 2.999 MB / 0.7254 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.028, allocations: 12.09 kB / 0.7254 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.03, allocations: 308.2 kB / 0.7257 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/1.033, allocations: 1.582 MB / 0.7272 GB, free: 99.67 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/1.033, allocations: 215.4 kB / 0.7274 GB, free: 99.6 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003437/1.033, allocations: 195.9 kB / 0.7276 GB, free: 99.6 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/1.038, allocations: 3.302 MB / 0.7308 GB, free: 99.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.423e-05/1.038, allocations: 5.719 kB / 0.7308 GB, free: 99.24 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/1.038, allocations: 85.78 kB / 0.7309 GB, free: 99.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000295/1.039, allocations: 250.2 kB / 0.7311 GB, free: 99.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/1.043, allocations: 3.116 MB / 0.7342 GB, free: 99.22 MB / 0.5294 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.01652/1.06, allocations: 13.82 MB / 0.7477 GB, free: 92.31 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/1.064, allocations: 2.24 MB / 0.7499 GB, free: 92.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001978/1.066, allocations: 1.358 MB / 0.7512 GB, free: 91.83 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007377/1.073, allocations: 5.89 MB / 0.757 GB, free: 88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/1.073, allocations: 50.97 kB / 0.757 GB, free: 87.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001047/1.074, allocations: 190.1 kB / 0.7572 GB, free: 87.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 3.937e-06/1.074, allocations: 0 / 0.7572 GB, free: 87.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.02964/1.104, allocations: 10.84 MB / 0.7678 GB, free: 82.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/1.104, allocations: 69.41 kB / 0.7678 GB, free: 82.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/1.106, allocations: 1.842 MB / 0.7696 GB, free: 81.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003589/1.106, allocations: 64.77 kB / 0.7697 GB, free: 81.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006458/1.107, allocations: 1.063 MB / 0.7707 GB, free: 80.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005264/1.108, allocations: 0.6704 MB / 0.7714 GB, free: 79.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/1.108, allocations: 195.2 kB / 0.7716 GB, free: 79.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.491e-05/1.108, allocations: 303.7 kB / 0.7719 GB, free: 79.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/1.11, allocations: 1.227 MB / 0.7731 GB, free: 78.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/1.111, allocations: 1.804 MB / 0.7748 GB, free: 77.01 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/1.115, allocations: 3.165 MB / 0.7779 GB, free: 74.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.115, allocations: 12 kB / 0.7779 GB, free: 74.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00653/1.122, allocations: 4.035 MB / 0.7819 GB, free: 70.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/1.122, allocations: 0.6079 MB / 0.7825 GB, free: 69.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/1.122, allocations: 16 kB / 0.7825 GB, free: 69.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004375/1.126, allocations: 1.25 MB / 0.7837 GB, free: 68.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/1.128, allocations: 482.3 kB / 0.7842 GB, free: 67.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007297/1.136, allocations: 10.52 MB / 0.7944 GB, free: 56.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/1.139, allocations: 189.3 kB / 0.7946 GB, free: 56.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/1.139, allocations: 116 kB / 0.7947 GB, free: 56.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/1.139, allocations: 8 kB / 0.7947 GB, free: 56.12 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005764/1.145, allocations: 3.571 MB / 0.7982 GB, free: 52.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/1.145, allocations: 16 kB / 0.7982 GB, free: 52.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002291/1.147, allocations: 0.8702 MB / 0.7991 GB, free: 51.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/1.149, allocations: 0.4964 MB / 0.7996 GB, free: 51.28 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006866/1.156, allocations: 10.21 MB / 0.8095 GB, free: 40.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/1.159, allocations: 193.1 kB / 0.8097 GB, free: 40.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/1.159, allocations: 112 kB / 0.8098 GB, free: 40.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,6,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,14), (2,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001536/1.161, allocations: 0.7022 MB / 0.8105 GB, free: 39.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/1.161, allocations: 233.1 kB / 0.8107 GB, free: 39.19 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006848/1.168, allocations: 3.982 MB / 0.8146 GB, free: 35.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/1.168, allocations: 27.94 kB / 0.8146 GB, free: 35.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/1.168, allocations: 4 kB / 0.8147 GB, free: 35.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004877/1.173, allocations: 3.396 MB / 0.818 GB, free: 31.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009527/1.183, allocations: 6.309 MB / 0.8241 GB, free: 25.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/1.183, allocations: 4 kB / 0.8241 GB, free: 25.39 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.184, allocations: 323 kB / 0.8244 GB, free: 25.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004064/1.188, allocations: 1.228 MB / 0.8256 GB, free: 23.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/1.188, allocations: 75.95 kB / 0.8257 GB, free: 23.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007153/1.196, allocations: 10.47 MB / 0.8359 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.196, allocations: 0 / 0.8359 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007893/1.204, allocations: 5.209 MB / 0.841 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.205, allocations: 0.6032 MB / 0.8416 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004589/1.206, allocations: 51.98 kB / 0.8417 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.207, allocations: 147.6 kB / 0.8418 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/1.208, allocations: 169.8 kB / 0.842 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/1.208, allocations: 79.95 kB / 0.842 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001513/1.209, allocations: 1.26 MB / 0.8433 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/1.209, allocations: 0 / 0.8433 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00529/1.215, allocations: 1.792 MB / 0.845 GB, free: 3.266 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.level,tank.medium.T,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 (182): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (2,8), (6,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002496/1.217, allocations: 1.012 MB / 0.846 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.227, allocations: 6.08 MB / 0.8519 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/1.227, allocations: 4.875 kB / 0.8519 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/1.231, allocations: 2.249 MB / 0.8541 GB, free: 9.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/1.237, allocations: 0.9964 MB / 0.8551 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/1.249, allocations: 6.959 MB / 0.8619 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/1.25, allocations: 1.856 MB / 0.8637 GB, free: 164 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.252, allocations: 234.1 kB / 0.864 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/1.252, allocations: 0 / 0.864 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.3988/1.65, allocations: 124.3 MB / 0.9853 GB, free: 220.9 MB / 0.6075 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)