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.0009357/0.0009359, allocations: 98.02 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 205.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 45.91 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 4 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 63.46 MB / 481.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.3389/0.4805, allocations: 67.68 MB / 0.5362 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03059/0.5112, allocations: 20.7 MB / 0.5564 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.5147, allocations: 102.9 kB / 0.5565 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003119/0.5178, allocations: 0.9222 MB / 0.5574 GB, free: 7.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009857/0.5277, allocations: 2.705 MB / 0.56 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01597/0.5437, allocations: 5.454 MB / 0.5654 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008747/0.5525, allocations: 3.86 MB / 0.5691 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00385/0.5564, allocations: 1.54 MB / 0.5706 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2082/0.7646, allocations: 124 MB / 0.6917 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.438/1.203, allocations: 53.35 MB / 0.7438 GB, free: 120 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.00122/1.204, allocations: 124 kB / 0.7439 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01637/1.22, allocations: 8.034 MB / 0.7518 GB, free: 113.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00201/1.222, allocations: 0.8764 MB / 0.7526 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/1.224, allocations: 0.5279 MB / 0.7531 GB, free: 112.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007714/1.231, allocations: 3.833 MB / 0.7569 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.231, allocations: 3.188 kB / 0.7569 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.535e-06/1.231, allocations: 0 / 0.7569 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.712e-05/1.231, allocations: 0 / 0.7569 GB, free: 109.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.007825/1.239, allocations: 3.007 MB / 0.7598 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/1.239, allocations: 8.031 kB / 0.7598 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/1.241, allocations: 308.5 kB / 0.7601 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/1.244, allocations: 1.527 MB / 0.7616 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/1.244, allocations: 217.6 kB / 0.7618 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/1.244, allocations: 192 kB / 0.762 GB, free: 105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005008/1.249, allocations: 3.267 MB / 0.7652 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.73e-05/1.249, allocations: 7.562 kB / 0.7652 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/1.249, allocations: 82.27 kB / 0.7653 GB, free: 102.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/1.25, allocations: 256.1 kB / 0.7655 GB, free: 102.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004322/1.254, allocations: 3.102 MB / 0.7685 GB, free: 100.3 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.01779/1.272, allocations: 13.96 MB / 0.7822 GB, free: 88.14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/1.275, allocations: 2.21 MB / 0.7843 GB, free: 86.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008274/1.284, allocations: 5.942 MB / 0.7901 GB, free: 81.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/1.284, allocations: 58.88 kB / 0.7902 GB, free: 81.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/1.285, allocations: 181.4 kB / 0.7904 GB, free: 81.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=173): time 3.757e-06/1.285, allocations: 0 / 0.7904 GB, free: 81.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=199): time 0.02899/1.314, allocations: 10.93 MB / 0.801 GB, free: 72.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.314, allocations: 75.56 kB / 0.8011 GB, free: 72.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/1.316, allocations: 1.829 MB / 0.8029 GB, free: 71.15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002466/1.316, allocations: 63.92 kB / 0.803 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/1.317, allocations: 1.057 MB / 0.804 GB, free: 70.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/1.318, allocations: 0.6829 MB / 0.8047 GB, free: 69.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001415/1.318, allocations: 43.69 kB / 0.8047 GB, free: 69.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.318, allocations: 401.5 kB / 0.8051 GB, free: 69.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.32, allocations: 1.204 MB / 0.8063 GB, free: 68.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/1.321, allocations: 1.777 MB / 0.808 GB, free: 67.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/1.323, allocations: 1.462 MB / 0.8094 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/1.323, allocations: 4 kB / 0.8094 GB, free: 66.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.006322/1.33, allocations: 3.999 MB / 0.8133 GB, free: 63.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001284/1.331, allocations: 6.959 MB / 0.8201 GB, free: 56.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/1.331, allocations: 22.84 kB / 0.8202 GB, free: 56.04 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004392/1.335, allocations: 1.264 MB / 0.8214 GB, free: 54.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/1.337, allocations: 478.8 kB / 0.8218 GB, free: 54.53 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007794/1.345, allocations: 10.63 MB / 0.8322 GB, free: 44.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.348, allocations: 196 kB / 0.8324 GB, free: 44.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/1.349, allocations: 114.9 kB / 0.8325 GB, free: 44.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/1.349, allocations: 4 kB / 0.8325 GB, free: 44.19 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005778/1.354, allocations: 3.59 MB / 0.836 GB, free: 41.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-05/1.354, allocations: 20 kB / 0.8361 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/1.357, allocations: 0.8898 MB / 0.8369 GB, free: 40.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/1.359, allocations: 0.4957 MB / 0.8374 GB, free: 39.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006913/1.366, allocations: 10.32 MB / 0.8475 GB, free: 28.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/1.369, allocations: 199.7 kB / 0.8477 GB, free: 28.51 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/1.369, allocations: 108 kB / 0.8478 GB, free: 28.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (254): * Single equations (assignments): 246 * 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.001465/1.37, allocations: 0.7093 MB / 0.8485 GB, free: 27.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/1.371, allocations: 229.2 kB / 0.8487 GB, free: 27.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/1.377, allocations: 4.018 MB / 0.8526 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/1.377, allocations: 24 kB / 0.8526 GB, free: 23.49 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/1.377, allocations: 0 / 0.8526 GB, free: 23.49 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004527/1.382, allocations: 3.407 MB / 0.856 GB, free: 20.01 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009419/1.391, allocations: 6.373 MB / 0.8622 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/1.391, allocations: 4 kB / 0.8622 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/1.393, allocations: 324.6 kB / 0.8625 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004001/1.397, allocations: 1.263 MB / 0.8637 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/1.397, allocations: 71.95 kB / 0.8638 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007135/1.404, allocations: 10.57 MB / 0.8741 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.404, allocations: 0 / 0.8741 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008783/1.413, allocations: 5.239 MB / 0.8792 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.415, allocations: 0.6344 MB / 0.8799 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003801/1.415, allocations: 59.94 kB / 0.8799 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.416, allocations: 146.5 kB / 0.8801 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/1.417, allocations: 169.7 kB / 0.8802 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.417, allocations: 85.72 kB / 0.8803 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001645/1.419, allocations: 1.215 MB / 0.8815 GB, free: 9.109 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/1.419, allocations: 0 / 0.8815 GB, free: 9.109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006116/1.425, allocations: 1.788 MB / 0.8832 GB, free: 7.32 MB / 0.545 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 (183): * Single equations (assignments): 169 * 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.003069/1.428, allocations: 0.9814 MB / 0.8842 GB, free: 6.418 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01141/1.439, allocations: 6.101 MB / 0.8901 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.439, allocations: 0 / 0.8901 GB, free: 328 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005407/1.445, allocations: 2.257 MB / 0.8924 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005359/1.45, allocations: 0.9502 MB / 0.8933 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01311/1.463, allocations: 6.627 MB / 0.8997 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/1.465, allocations: 1.932 MB / 0.9016 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00462/1.47, allocations: 1.223 MB / 0.9028 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000654/1.471, allocations: 203.4 kB / 0.903 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of SimCode: time 1.532e-06/1.471, allocations: 0 / 0.903 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of Templates: time 0.4085/1.879, allocations: 60.88 MB / 0.9625 GB, free: 150.3 MB / 0.5762 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)