Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00271/0.002717, allocations: 360 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.186/4.186, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003601/0.003601, allocations: 233.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5173/0.5173, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005103/0.0005106, allocations: 16 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1087, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.52/8.629, allocations: 2.67 GB / 3.35 GB, free: 111.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/8.629, allocations: 88.88 kB / 3.35 GB, free: 111.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.393/14.02, allocations: 0.9743 GB / 4.325 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.946e-06/14.02, allocations: 3.031 kB / 4.325 GB, free: 36.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003418/14.02, allocations: 74.41 kB / 4.325 GB, free: 36.13 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.0238/14.05, allocations: 4.693 MB / 4.329 GB, free: 33.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/14.05, allocations: 13.59 kB / 4.329 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01225/14.06, allocations: 1.024 MB / 4.33 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02755/14.09, allocations: 8.503 MB / 4.339 GB, free: 33.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005461/14.09, allocations: 285.5 kB / 4.339 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/14.09, allocations: 246.1 kB / 4.339 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01844/14.11, allocations: 4.521 MB / 4.344 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/14.11, allocations: 8.094 kB / 4.344 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/14.11, allocations: 111.4 kB / 4.344 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004806/14.11, allocations: 219.2 kB / 4.344 GB, free: 32.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/14.13, allocations: 4.205 MB / 4.348 GB, free: 32.45 MB / 0.5261 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.04172/14.17, allocations: 18.98 MB / 4.367 GB, free: 21.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/14.18, allocations: 2.892 MB / 4.369 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004959/14.18, allocations: 1.601 MB / 4.371 GB, free: 21.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05308/14.24, allocations: 17.01 MB / 4.388 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.172e-05/14.24, allocations: 57.17 kB / 4.388 GB, free: 26.99 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002647/14.24, allocations: 234.8 kB / 4.388 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=194): time 1.034e-05/14.24, allocations: 0 / 4.388 GB, free: 26.89 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: heater.mediums[1].p 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.1017/14.34, allocations: 17.73 MB / 4.405 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/14.34, allocations: 125.8 kB / 4.405 GB, free: 24.58 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/14.35, allocations: 1.874 MB / 4.407 GB, free: 24.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007261/14.35, allocations: 69.11 kB / 4.407 GB, free: 24.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009759/14.35, allocations: 1.139 MB / 4.408 GB, free: 23.84 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/14.35, allocations: 0.7282 MB / 4.409 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/14.35, allocations: 49.44 kB / 4.409 GB, free: 23.37 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002373/14.35, allocations: 406 kB / 4.409 GB, free: 23.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004602/14.35, allocations: 1.447 MB / 4.411 GB, free: 23.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005146/14.36, allocations: 1.961 MB / 4.413 GB, free: 22.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/14.36, allocations: 1.651 MB / 4.414 GB, free: 22.46 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.101e-05/14.36, allocations: 9.844 kB / 4.414 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.0146/14.38, allocations: 4.335 MB / 4.419 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000363/14.38, allocations: 0.4885 MB / 4.419 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/14.38, allocations: 16.88 kB / 4.419 GB, free: 21.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008014/14.39, allocations: 1.263 MB / 4.42 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/14.39, allocations: 0.5287 MB / 4.421 GB, free: 21.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/14.4, allocations: 5.762 MB / 4.426 GB, free: 17.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005304/14.41, allocations: 321.5 kB / 4.427 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008373/14.41, allocations: 116.9 kB / 4.427 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/14.41, allocations: 3.938 kB / 4.427 GB, free: 17.26 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01181/14.42, allocations: 3.756 MB / 4.431 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/14.42, allocations: 15.03 kB / 4.431 GB, free: 17.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/14.42, allocations: 0.6583 MB / 4.431 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005066/14.43, allocations: 0.5879 MB / 4.432 GB, free: 17.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/14.44, allocations: 8.489 MB / 4.44 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004571/14.44, allocations: 314.2 kB / 4.44 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003586/14.44, allocations: 119 kB / 4.441 GB, free: 10.32 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * 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: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.002308/14.44, allocations: 0.8033 MB / 4.441 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007527/14.44, allocations: 232.9 kB / 4.442 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/14.46, allocations: 9.482 MB / 4.451 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/14.47, allocations: 106.4 kB / 4.451 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/14.47, allocations: 0 / 4.451 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01622/14.48, allocations: 8.339 MB / 4.459 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03025/14.51, allocations: 13.75 MB / 4.472 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/14.51, allocations: 0 / 4.472 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003608/14.52, allocations: 417.3 kB / 4.473 GB, free: 14.63 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/14.53, allocations: 2.303 MB / 4.475 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006654/14.53, allocations: 72.33 kB / 4.475 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008956/14.54, allocations: 6.989 MB / 4.482 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/14.54, allocations: 4.031 kB / 4.482 GB, free: 5.965 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4846/15.02, allocations: 10.28 MB / 4.492 GB, free: 62.29 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003959/15.02, allocations: 0.8194 MB / 4.493 GB, free: 62.19 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001337/15.03, allocations: 55.7 kB / 4.493 GB, free: 62.19 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006352/15.03, allocations: 266.1 kB / 4.493 GB, free: 62.19 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/15.03, allocations: 199.2 kB / 4.493 GB, free: 62.19 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004778/15.03, allocations: 85.14 kB / 4.493 GB, free: 62.19 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004567/15.04, allocations: 1.324 MB / 4.495 GB, free: 62.04 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.052e-06/15.04, allocations: 0.9375 kB / 4.495 GB, free: 62.04 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01691/15.06, allocations: 3 MB / 4.498 GB, free: 62.04 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0161/15.07, allocations: 2.94 MB / 4.5 GB, free: 61.88 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02064/15.09, allocations: 6.685 MB / 4.507 GB, free: 61.44 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/15.09, allocations: 3.094 kB / 4.507 GB, free: 61.44 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.009136/15.1, allocations: 3.063 MB / 4.51 GB, free: 61.4 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/15.11, allocations: 1.12 MB / 4.511 GB, free: 61.38 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/15.14, allocations: 10.48 MB / 4.521 GB, free: 57.63 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/15.14, allocations: 2.583 MB / 4.524 GB, free: 56.85 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.009229/15.15, allocations: 3.064 MB / 4.527 GB, free: 56.82 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/15.15, allocations: 201.5 kB / 4.527 GB, free: 56.81 MB / 0.5574 GB Notification: Performance of SimCode: time 2.184e-06/15.15, allocations: 3.219 kB / 4.527 GB, free: 56.81 MB / 0.5574 GB Notification: Performance of Templates: time 0.2263/15.38, allocations: 102.6 MB / 4.627 GB, free: 51.1 MB / 0.5574 GB