Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.HeatingSystem,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="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") translateModel(Modelica.Fluid.Examples.HeatingSystem,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="Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 194 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000764/0.000764, allocations: 95.69 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002445/0.0002446, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2095, allocations: 51.41 MB / 412 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2601/0.4696, allocations: 115.1 MB / 0.5148 GB, free: 29.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02836/0.498, allocations: 30.05 MB / 0.5442 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/0.5011, allocations: 108.9 kB / 0.5443 GB, free: 18.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002352/0.5035, allocations: 0.8205 MB / 0.5451 GB, free: 18.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008225/0.5117, allocations: 3.522 MB / 0.5485 GB, free: 18.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01092/0.5227, allocations: 4.921 MB / 0.5533 GB, free: 16.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009351/0.5321, allocations: 10.73 MB / 0.5638 GB, free: 12.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002857/0.5349, allocations: 1.578 MB / 0.5653 GB, free: 10.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1528/0.6877, allocations: 73.57 MB / 0.6372 GB, free: 1.395 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06848/0.7563, allocations: 31.95 MB / 0.6684 GB, free: 1.488 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.7574, allocations: 124 kB / 0.6685 GB, free: 1.367 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2306/0.9881, allocations: 5.852 MB / 0.6742 GB, free: 131.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002206/0.9903, allocations: 0.9501 MB / 0.6752 GB, free: 131.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00379/0.9941, allocations: 1.397 MB / 0.6765 GB, free: 131.1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00915/1.003, allocations: 5.312 MB / 0.6817 GB, free: 130.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.003, allocations: 0 / 0.6817 GB, free: 130.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.003, allocations: 0 / 0.6817 GB, free: 130.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.794e-05/1.003, allocations: 1.844 kB / 0.6817 GB, free: 130.8 MB / 490.7 MB 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.007359/1.011, allocations: 3.002 MB / 0.6846 GB, free: 129.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/1.011, allocations: 9.219 kB / 0.6846 GB, free: 129.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009538/1.012, allocations: 309.9 kB / 0.6849 GB, free: 129.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/1.014, allocations: 1.579 MB / 0.6865 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/1.014, allocations: 214 kB / 0.6867 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003176/1.015, allocations: 200.6 kB / 0.6869 GB, free: 128.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004733/1.02, allocations: 3.289 MB / 0.6901 GB, free: 128.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/1.02, allocations: 6.469 kB / 0.6901 GB, free: 128.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/1.02, allocations: 84.62 kB / 0.6902 GB, free: 128.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002787/1.02, allocations: 249.8 kB / 0.6904 GB, free: 128.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004555/1.025, allocations: 3.101 MB / 0.6934 GB, free: 128.3 MB / 490.7 MB 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.01693/1.042, allocations: 13.82 MB / 0.7069 GB, free: 121.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/1.045, allocations: 2.215 MB / 0.7091 GB, free: 120.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/1.047, allocations: 1.35 MB / 0.7104 GB, free: 120.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007838/1.055, allocations: 5.886 MB / 0.7162 GB, free: 116.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/1.055, allocations: 53.23 kB / 0.7162 GB, free: 116.2 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009353/1.056, allocations: 176.2 kB / 0.7164 GB, free: 116 MB / 490.7 MB Notification: Performance of pre-optimization done (n=171): time 3.807e-06/1.056, allocations: 0 / 0.7164 GB, free: 116 MB / 490.7 MB Notification: Performance of matching and sorting (n=197): time 0.02011/1.076, allocations: 9.214 MB / 0.7254 GB, free: 109.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.076, allocations: 73.38 kB / 0.7254 GB, free: 109.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002226/1.078, allocations: 1.835 MB / 0.7272 GB, free: 107.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002625/1.079, allocations: 64.61 kB / 0.7273 GB, free: 107.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005412/1.079, allocations: 1.059 MB / 0.7283 GB, free: 107 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/1.08, allocations: 0.6803 MB / 0.729 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/1.08, allocations: 46 kB / 0.729 GB, free: 106.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/1.08, allocations: 402.3 kB / 0.7294 GB, free: 106 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.082, allocations: 1.22 MB / 0.7306 GB, free: 105.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/1.083, allocations: 1.799 MB / 0.7324 GB, free: 103.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.087, allocations: 3.15 MB / 0.7355 GB, free: 101.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/1.087, allocations: 4 kB / 0.7355 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00602/1.093, allocations: 4.275 MB / 0.7396 GB, free: 97.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/1.093, allocations: 0.6045 MB / 0.7402 GB, free: 96.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/1.093, allocations: 20 kB / 0.7402 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/1.106, allocations: 3.685 MB / 0.7438 GB, free: 92.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.107, allocations: 334.6 kB / 0.7442 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/1.113, allocations: 3.94 MB / 0.748 GB, free: 88.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002718/1.116, allocations: 183.8 kB / 0.7482 GB, free: 88.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/1.116, allocations: 124 kB / 0.7483 GB, free: 88.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.116, allocations: 5.25 kB / 0.7483 GB, free: 88.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005261/1.121, allocations: 3.787 MB / 0.752 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/1.121, allocations: 20.84 kB / 0.752 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/1.13, allocations: 2.837 MB / 0.7548 GB, free: 81.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/1.132, allocations: 374.6 kB / 0.7552 GB, free: 81.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/1.137, allocations: 3.469 MB / 0.7585 GB, free: 77.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/1.139, allocations: 179.9 kB / 0.7587 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/1.139, allocations: 108 kB / 0.7588 GB, free: 77.47 MB / 490.7 MB 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.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 (175): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.001188/1.14, allocations: 0.7081 MB / 0.7595 GB, free: 76.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/1.141, allocations: 233.1 kB / 0.7597 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/1.147, allocations: 3.958 MB / 0.7636 GB, free: 72.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/1.147, allocations: 24 kB / 0.7636 GB, free: 72.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.147, allocations: 4 kB / 0.7636 GB, free: 72.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004779/1.152, allocations: 3.379 MB / 0.7669 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/1.162, allocations: 6.297 MB / 0.7731 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.162, allocations: 0.5625 kB / 0.7731 GB, free: 62.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/1.163, allocations: 323.9 kB / 0.7734 GB, free: 62.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00397/1.167, allocations: 1.225 MB / 0.7746 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002786/1.168, allocations: 71.95 kB / 0.7746 GB, free: 61.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007128/1.175, allocations: 10.45 MB / 0.7849 GB, free: 50.05 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.175, allocations: 3.938 kB / 0.7849 GB, free: 50.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007557/1.182, allocations: 5.185 MB / 0.7899 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.184, allocations: 0.5993 MB / 0.7905 GB, free: 44.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/1.184, allocations: 60.16 kB / 0.7906 GB, free: 44.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.186, allocations: 154.5 kB / 0.7907 GB, free: 44 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/1.186, allocations: 169.7 kB / 0.7909 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.186, allocations: 79.95 kB / 0.7909 GB, free: 43.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001453/1.188, allocations: 1.241 MB / 0.7922 GB, free: 42.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.188, allocations: 0 / 0.7922 GB, free: 42.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005096/1.193, allocations: 1.749 MB / 0.7939 GB, free: 40.75 MB / 490.7 MB 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.002329/1.195, allocations: 1.013 MB / 0.7949 GB, free: 39.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008771/1.204, allocations: 4.986 MB / 0.7997 GB, free: 34.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.204, allocations: 4.062 kB / 0.7997 GB, free: 34.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003556/1.208, allocations: 2.238 MB / 0.8019 GB, free: 32.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00463/1.212, allocations: 1.012 MB / 0.8029 GB, free: 31.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008589/1.221, allocations: 6.859 MB / 0.8096 GB, free: 24.78 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.222, allocations: 1.868 MB / 0.8114 GB, free: 22.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003142/1.225, allocations: 0.9554 MB / 0.8124 GB, free: 21.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005677/1.226, allocations: 197.5 kB / 0.8125 GB, free: 21.72 MB / 490.7 MB Notification: Performance of SimCode: time 8.51e-07/1.226, allocations: 0 / 0.8125 GB, free: 21.72 MB / 490.7 MB Notification: Performance of Templates: time 0.2778/1.504, allocations: 71.89 MB / 0.8828 GB, free: 214.4 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)