Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 113.9 kB / 18.46 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 186.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2022/0.2022, allocations: 44.19 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.83 kB / 471.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.332, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial): time 0.08896/0.421, allocations: 90.15 MB / 0.6076 GB, free: 1.652 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03205/0.4531, allocations: 21.32 MB / 0.6285 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.4556, allocations: 91.44 kB / 0.6285 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.4584, allocations: 0.9356 MB / 0.6295 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008927/0.4673, allocations: 3.775 MB / 0.6331 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01197/0.4793, allocations: 5.665 MB / 0.6387 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008403/0.4878, allocations: 7.054 MB / 0.6456 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002941/0.4907, allocations: 1.844 MB / 0.6474 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4803/0.971, allocations: 74.96 MB / 0.7206 GB, free: 72.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07286/1.044, allocations: 31.92 MB / 0.7517 GB, free: 63.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001216/1.045, allocations: 252 kB / 0.752 GB, free: 63.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01423/1.059, allocations: 6.094 MB / 0.7579 GB, free: 62.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001837/1.061, allocations: 1.088 MB / 0.759 GB, free: 62.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002546/1.064, allocations: 1.499 MB / 0.7605 GB, free: 62.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008533/1.072, allocations: 5.524 MB / 0.7658 GB, free: 61.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.072, allocations: 3.5 kB / 0.7659 GB, free: 61.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/1.072, allocations: 0 / 0.7659 GB, free: 61.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.602e-05/1.073, allocations: 0 / 0.7659 GB, free: 61.72 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.007832/1.08, allocations: 3.492 MB / 0.7693 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.08, allocations: 10.44 kB / 0.7693 GB, free: 59.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009504/1.081, allocations: 304.9 kB / 0.7696 GB, free: 59.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/1.084, allocations: 1.684 MB / 0.7712 GB, free: 58.88 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/1.084, allocations: 210.2 kB / 0.7714 GB, free: 58.81 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002864/1.085, allocations: 202.2 kB / 0.7716 GB, free: 58.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004398/1.089, allocations: 3.3 MB / 0.7748 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.772e-05/1.089, allocations: 3.844 kB / 0.7748 GB, free: 56.33 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.089, allocations: 81.12 kB / 0.7749 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/1.09, allocations: 249.9 kB / 0.7751 GB, free: 56.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004321/1.094, allocations: 3.11 MB / 0.7782 GB, free: 54.02 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.01567/1.11, allocations: 13.79 MB / 0.7916 GB, free: 41.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/1.113, allocations: 2.219 MB / 0.7938 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/1.115, allocations: 1.365 MB / 0.7951 GB, free: 39.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00749/1.123, allocations: 5.876 MB / 0.8009 GB, free: 34.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.123, allocations: 57.19 kB / 0.8009 GB, free: 34.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006364/1.123, allocations: 173.4 kB / 0.8011 GB, free: 34.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 4.148e-06/1.123, allocations: 0 / 0.8011 GB, free: 34.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=197): time 0.02995/1.153, allocations: 10.65 MB / 0.8115 GB, free: 24.19 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.153, allocations: 76.97 kB / 0.8116 GB, free: 24.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/1.156, allocations: 1.837 MB / 0.8134 GB, free: 22.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.156, allocations: 61.7 kB / 0.8134 GB, free: 22.16 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000552/1.156, allocations: 1.061 MB / 0.8145 GB, free: 21.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000436/1.157, allocations: 0.6764 MB / 0.8151 GB, free: 20.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006443/1.157, allocations: 464.3 kB / 0.8156 GB, free: 19.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/1.157, allocations: 305.1 kB / 0.8159 GB, free: 19.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/1.159, allocations: 1.229 MB / 0.8171 GB, free: 18.42 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/1.161, allocations: 1.802 MB / 0.8188 GB, free: 16.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/1.165, allocations: 3.158 MB / 0.8219 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/1.165, allocations: 4 kB / 0.8219 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007063/1.172, allocations: 4.022 MB / 0.8258 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.172, allocations: 12 kB / 0.8258 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/1.172, allocations: 20 kB / 0.8259 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004366/1.177, allocations: 1.242 MB / 0.8271 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/1.179, allocations: 470.5 kB / 0.8275 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008937/1.188, allocations: 11.18 MB / 0.8384 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.19, allocations: 88.14 kB / 0.8385 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/1.191, allocations: 123.6 kB / 0.8386 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002956/1.194, allocations: 1.676 MB / 0.8403 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002287/1.196, allocations: 1.759 MB / 0.842 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004225/1.2, allocations: 3.043 MB / 0.845 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.035e-05/1.2, allocations: 8 kB / 0.845 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.007018/1.207, allocations: 3.775 MB / 0.8487 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.207, allocations: 12.16 kB / 0.8487 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.207, allocations: 24 kB / 0.8487 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/1.21, allocations: 0.8394 MB / 0.8495 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.212, allocations: 0.4972 MB / 0.85 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009244/1.221, allocations: 10.9 MB / 0.8607 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.223, allocations: 87.95 kB / 0.8607 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/1.223, allocations: 116 kB / 0.8608 GB, free: 3.527 MB / 0.5919 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.0006478/1.224, allocations: 326.6 kB / 0.8612 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/1.225, allocations: 221.3 kB / 0.8614 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008219/1.233, allocations: 3.961 MB / 0.8652 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005948/1.239, allocations: 3.374 MB / 0.8685 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.239, allocations: 0 / 0.8685 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/1.24, allocations: 0.5993 MB / 0.8691 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006536/1.241, allocations: 51.98 kB / 0.8692 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001614/1.242, allocations: 79.94 kB / 0.8692 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/1.243, allocations: 172.5 kB / 0.8694 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008574/1.251, allocations: 3.759 MB / 0.8731 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007665/1.259, allocations: 4.71 MB / 0.8777 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001978/1.261, allocations: 1.39 MB / 0.879 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001982/1.263, allocations: 1.236 MB / 0.8802 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of Backend: time 1.433e-06/1.263, allocations: 4 kB / 0.8802 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.277, allocations: 6.069 MB / 0.8862 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of SimCode: time 0.009846/1.286, allocations: 6.066 MB / 0.8921 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of Templates: time 0.1169/1.403, allocations: 71.9 MB / 0.9623 GB, free: 12.26 MB / 0.7012 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)