Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Fluid.Examples.HeatingSystem") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009417/0.0009419, allocations: 175.6 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007292/0.0007293, allocations: 97.91 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2068, allocations: 50.4 MB / 404.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.2772/0.4841, allocations: 114.7 MB / 0.5071 GB, free: 31.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02912/0.5133, allocations: 29.89 MB / 0.5363 GB, free: 21.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.5167, allocations: 105 kB / 0.5364 GB, free: 21.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002825/0.5195, allocations: 0.8133 MB / 0.5372 GB, free: 21.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009137/0.5287, allocations: 3.517 MB / 0.5406 GB, free: 21.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.541, allocations: 4.934 MB / 0.5455 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008748/0.5498, allocations: 10.69 MB / 0.5559 GB, free: 16.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002036/0.5519, allocations: 1.576 MB / 0.5574 GB, free: 15.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1495/0.7014, allocations: 73.51 MB / 0.6292 GB, free: 8.688 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07539/0.7768, allocations: 31.92 MB / 0.6604 GB, free: 8.82 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009175/0.7777, allocations: 128 kB / 0.6605 GB, free: 8.695 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2031/0.9808, allocations: 5.845 MB / 0.6662 GB, free: 118.3 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.9829, allocations: 0.9526 MB / 0.6672 GB, free: 118.3 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003227/0.9862, allocations: 1.386 MB / 0.6685 GB, free: 118.2 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009569/0.9958, allocations: 5.319 MB / 0.6737 GB, free: 118 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.9958, allocations: 2.312 kB / 0.6737 GB, free: 118 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.9958, allocations: 0 / 0.6737 GB, free: 118 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.619e-05/0.9959, allocations: 3.75 kB / 0.6737 GB, free: 118 MB / 474.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.007659/1.004, allocations: 2.999 MB / 0.6767 GB, free: 116.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.004, allocations: 10.53 kB / 0.6767 GB, free: 116.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/1.005, allocations: 306.1 kB / 0.677 GB, free: 116.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/1.008, allocations: 1.582 MB / 0.6785 GB, free: 116 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/1.008, allocations: 217.2 kB / 0.6787 GB, free: 115.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/1.009, allocations: 204.7 kB / 0.6789 GB, free: 115.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/1.013, allocations: 3.278 MB / 0.6821 GB, free: 115.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.488e-05/1.014, allocations: 9.906 kB / 0.6821 GB, free: 115.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002252/1.014, allocations: 85.73 kB / 0.6822 GB, free: 115.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002789/1.014, allocations: 255.3 kB / 0.6824 GB, free: 115.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004472/1.019, allocations: 3.1 MB / 0.6855 GB, free: 115.6 MB / 474.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.01622/1.035, allocations: 13.8 MB / 0.6989 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003416/1.038, allocations: 2.215 MB / 0.7011 GB, free: 108.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/1.04, allocations: 1.354 MB / 0.7024 GB, free: 108.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00702/1.047, allocations: 5.878 MB / 0.7082 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/1.047, allocations: 57.91 kB / 0.7082 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008013/1.048, allocations: 180.5 kB / 0.7084 GB, free: 104.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=171): time 3.276e-06/1.048, allocations: 0 / 0.7084 GB, free: 104.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=197): time 0.01982/1.068, allocations: 9.196 MB / 0.7174 GB, free: 97.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/1.068, allocations: 73.41 kB / 0.7174 GB, free: 97.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/1.07, allocations: 1.835 MB / 0.7192 GB, free: 96.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/1.071, allocations: 64.44 kB / 0.7193 GB, free: 96.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/1.071, allocations: 1.056 MB / 0.7203 GB, free: 95.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004771/1.072, allocations: 0.6789 MB / 0.721 GB, free: 94.92 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001765/1.072, allocations: 46.38 kB / 0.721 GB, free: 94.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/1.072, allocations: 406 kB / 0.7214 GB, free: 94.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.074, allocations: 1.216 MB / 0.7226 GB, free: 93.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/1.076, allocations: 1.799 MB / 0.7244 GB, free: 92.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/1.079, allocations: 3.152 MB / 0.7274 GB, free: 89.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/1.079, allocations: 4 kB / 0.7274 GB, free: 89.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006193/1.085, allocations: 4.278 MB / 0.7316 GB, free: 86.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/1.086, allocations: 0.5968 MB / 0.7322 GB, free: 85.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.086, allocations: 16.66 kB / 0.7322 GB, free: 85.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/1.098, allocations: 3.694 MB / 0.7358 GB, free: 82.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/1.099, allocations: 332.2 kB / 0.7362 GB, free: 81.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/1.105, allocations: 3.941 MB / 0.74 GB, free: 78.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/1.108, allocations: 187.8 kB / 0.7402 GB, free: 77.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003539/1.108, allocations: 119.4 kB / 0.7403 GB, free: 77.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/1.108, allocations: 6.062 kB / 0.7403 GB, free: 77.73 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00554/1.114, allocations: 3.791 MB / 0.744 GB, free: 74.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.02e-05/1.114, allocations: 20 kB / 0.744 GB, free: 74.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008291/1.122, allocations: 2.841 MB / 0.7468 GB, free: 71.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/1.124, allocations: 376.5 kB / 0.7472 GB, free: 70.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/1.128, allocations: 3.463 MB / 0.7505 GB, free: 67.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.13, allocations: 183.9 kB / 0.7507 GB, free: 67.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/1.131, allocations: 108 kB / 0.7508 GB, free: 67.11 MB / 474.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.001257/1.132, allocations: 0.7035 MB / 0.7515 GB, free: 66.42 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004918/1.133, allocations: 233.1 kB / 0.7517 GB, free: 66.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006475/1.139, allocations: 3.961 MB / 0.7556 GB, free: 62.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.139, allocations: 20 kB / 0.7556 GB, free: 62.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.139, allocations: 4 kB / 0.7556 GB, free: 62.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004501/1.144, allocations: 3.389 MB / 0.7589 GB, free: 58.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009393/1.153, allocations: 6.298 MB / 0.7651 GB, free: 52.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.026e-06/1.153, allocations: 0 / 0.7651 GB, free: 52.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.154, allocations: 328.4 kB / 0.7654 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003862/1.158, allocations: 1.228 MB / 0.7666 GB, free: 50.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/1.159, allocations: 79.89 kB / 0.7667 GB, free: 50.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007025/1.166, allocations: 10.44 MB / 0.7769 GB, free: 39.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.166, allocations: 0 / 0.7769 GB, free: 39.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/1.174, allocations: 5.197 MB / 0.7819 GB, free: 34.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.175, allocations: 0.611 MB / 0.7825 GB, free: 33.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005858/1.176, allocations: 51.98 kB / 0.7826 GB, free: 33.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001737/1.178, allocations: 143.7 kB / 0.7827 GB, free: 33.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003778/1.178, allocations: 161.8 kB / 0.7829 GB, free: 33.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002009/1.178, allocations: 83.95 kB / 0.783 GB, free: 33.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001666/1.18, allocations: 1.245 MB / 0.7842 GB, free: 32.12 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.81e-07/1.18, allocations: 0 / 0.7842 GB, free: 32.12 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005137/1.185, allocations: 1.734 MB / 0.7859 GB, free: 30.39 MB / 474.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.002459/1.188, allocations: 1.01 MB / 0.7869 GB, free: 29.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008506/1.196, allocations: 4.982 MB / 0.7917 GB, free: 24.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/1.196, allocations: 4 kB / 0.7917 GB, free: 24.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003412/1.2, allocations: 2.24 MB / 0.7939 GB, free: 22.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.204, allocations: 0.9987 MB / 0.7949 GB, free: 21.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008791/1.213, allocations: 6.862 MB / 0.8016 GB, free: 14.44 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/1.215, allocations: 1.868 MB / 0.8034 GB, free: 12.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003205/1.218, allocations: 0.9635 MB / 0.8043 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/1.218, allocations: 191.4 kB / 0.8045 GB, free: 11.38 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/1.218, allocations: 4 kB / 0.8045 GB, free: 11.38 MB / 474.7 MB Notification: Performance of Templates: time 0.2568/1.475, allocations: 71.88 MB / 0.8747 GB, free: 193.2 MB / 0.4948 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.HeatingSystem.pipe 2>&1)