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.001075/0.001075, allocations: 118.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001173/0.001173, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 79.88 kB / 482 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3071, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.09032/0.3974, allocations: 90.46 MB / 0.62 GB, free: 7.152 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03245/0.4299, allocations: 21.35 MB / 0.6409 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002723/0.4327, allocations: 83.5 kB / 0.641 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002748/0.4355, allocations: 0.9512 MB / 0.6419 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009044/0.4445, allocations: 3.725 MB / 0.6455 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.4569, allocations: 5.68 MB / 0.6511 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008429/0.4653, allocations: 7.073 MB / 0.658 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.4683, allocations: 1.848 MB / 0.6598 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4347/0.9029, allocations: 75.03 MB / 0.7331 GB, free: 59.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05419/0.9572, allocations: 31.94 MB / 0.7642 GB, free: 49.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.9583, allocations: 248.9 kB / 0.7645 GB, free: 49.34 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01255/0.9709, allocations: 6.121 MB / 0.7705 GB, free: 48.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001705/0.9726, allocations: 1.086 MB / 0.7715 GB, free: 48.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002167/0.9748, allocations: 1.502 MB / 0.773 GB, free: 48.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.007676/0.9825, allocations: 5.536 MB / 0.7784 GB, free: 44.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9825, allocations: 0 / 0.7784 GB, free: 44.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9825, allocations: 0 / 0.7784 GB, free: 44.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.69e-05/0.9826, allocations: 0 / 0.7784 GB, free: 44.97 MB / 0.5606 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.007338/0.9899, allocations: 3.5 MB / 0.7818 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.99, allocations: 8.031 kB / 0.7818 GB, free: 41.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.9909, allocations: 312.5 kB / 0.7821 GB, free: 41.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.9933, allocations: 1.672 MB / 0.7838 GB, free: 40.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.9934, allocations: 217 kB / 0.784 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.9937, allocations: 200.2 kB / 0.7841 GB, free: 39.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.9979, allocations: 3.3 MB / 0.7874 GB, free: 37.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.77e-05/0.998, allocations: 7.469 kB / 0.7874 GB, free: 37.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.9982, allocations: 81.52 kB / 0.7875 GB, free: 37.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.9985, allocations: 249.6 kB / 0.7877 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004189/1.003, allocations: 3.111 MB / 0.7907 GB, free: 35.26 MB / 0.5606 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.01593/1.019, allocations: 13.78 MB / 0.8042 GB, free: 23.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/1.022, allocations: 2.226 MB / 0.8064 GB, free: 21.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/1.024, allocations: 1.371 MB / 0.8077 GB, free: 20.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006912/1.031, allocations: 5.875 MB / 0.8134 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.031, allocations: 52.56 kB / 0.8135 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006781/1.032, allocations: 177.9 kB / 0.8137 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 4.298e-06/1.032, allocations: 0 / 0.8137 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197): time 0.02735/1.059, allocations: 10.65 MB / 0.8241 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/1.059, allocations: 73.41 kB / 0.8241 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/1.061, allocations: 1.853 MB / 0.8259 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001852/1.061, allocations: 61.7 kB / 0.826 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004985/1.062, allocations: 1.067 MB / 0.827 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/1.062, allocations: 0.6728 MB / 0.8277 GB, free: 140 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/1.063, allocations: 460.5 kB / 0.8281 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/1.063, allocations: 301.1 kB / 0.8284 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/1.065, allocations: 1.237 MB / 0.8296 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/1.067, allocations: 1.801 MB / 0.8314 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00436/1.072, allocations: 3.153 MB / 0.8345 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/1.072, allocations: 8 kB / 0.8345 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007262/1.079, allocations: 4.013 MB / 0.8384 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/1.079, allocations: 12 kB / 0.8384 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/1.079, allocations: 16 kB / 0.8384 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00466/1.084, allocations: 1.238 MB / 0.8396 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/1.086, allocations: 479.5 kB / 0.8401 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009633/1.095, allocations: 11.18 MB / 0.851 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.097, allocations: 91.94 kB / 0.8511 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/1.098, allocations: 116.1 kB / 0.8512 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002736/1.1, allocations: 1.676 MB / 0.8528 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002367/1.103, allocations: 1.745 MB / 0.8545 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00421/1.107, allocations: 3.057 MB / 0.8575 GB, free: 136 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.719e-05/1.107, allocations: 4 kB / 0.8575 GB, free: 132 kB / 0.5919 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.006518/1.113, allocations: 3.778 MB / 0.8612 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.113, allocations: 12 kB / 0.8612 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/1.113, allocations: 20 kB / 0.8613 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/1.116, allocations: 0.8466 MB / 0.8621 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/1.118, allocations: 0.5022 MB / 0.8626 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/1.127, allocations: 10.88 MB / 0.8732 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/1.129, allocations: 95.94 kB / 0.8733 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003959/1.13, allocations: 112 kB / 0.8734 GB, free: 15.27 MB / 0.6231 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.0006968/1.131, allocations: 332.6 kB / 0.8737 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/1.131, allocations: 221.3 kB / 0.8739 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007905/1.139, allocations: 3.965 MB / 0.8778 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005521/1.145, allocations: 3.372 MB / 0.8811 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.145, allocations: 4 kB / 0.8811 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.146, allocations: 0.5915 MB / 0.8817 GB, free: 6.746 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004446/1.146, allocations: 63.91 kB / 0.8817 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.148, allocations: 75.94 kB / 0.8818 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/1.148, allocations: 169.7 kB / 0.882 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008087/1.156, allocations: 3.756 MB / 0.8856 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006831/1.163, allocations: 4.718 MB / 0.8902 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001877/1.165, allocations: 1.39 MB / 0.8916 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002129/1.167, allocations: 1.236 MB / 0.8928 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of Backend: time 6.72e-07/1.167, allocations: 0 / 0.8928 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01341/1.181, allocations: 6.083 MB / 0.8987 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of SimCode: time 0.009559/1.19, allocations: 6.049 MB / 0.9047 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of Templates: time 0.1119/1.302, allocations: 73.32 MB / 0.9763 GB, free: 6.547 MB / 0.7169 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)