Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) 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) Using package Chemical with version 1.4.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1352/0.1352, allocations: 15.28 MB / 30.53 MB, free: 3.199 MB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 187.9 kB / 35.63 MB, free: 2.25 MB / 24.77 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.455/1.455, allocations: 225.7 MB / 266.3 MB, free: 6.07 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.000794/0.000794, allocations: 94.44 kB / 321.7 MB, free: 2.211 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002948, allocations: 10.88 kB / 387 MB, free: 50.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07957/0.07988, allocations: 54.65 MB / 441.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.003821/0.08375, allocations: 3.232 MB / 444.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.09051, allocations: 5.653 MB / 450.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/0.09107, allocations: 7.938 kB / 450.6 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.09158, allocations: 103.3 kB / 450.7 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.09296, allocations: 381.7 kB / 451 MB, free: 5.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.09454, allocations: 473.6 kB / 451.5 MB, free: 4.703 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007206/0.09528, allocations: 0.5532 MB / 452 MB, free: 4.148 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.0957, allocations: 298.3 kB / 452.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.09599, allocations: 251.1 kB / 452.6 MB, free: 3.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.09635, allocations: 282.9 kB / 452.9 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.09642, allocations: 24 kB / 452.9 MB, free: 3.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.09756, allocations: 439.1 kB / 453.3 MB, free: 2.875 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.09767, allocations: 83.69 kB / 453.4 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002743/0.09796, allocations: 280.4 kB / 453.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.09919, allocations: 0.9534 MB / 454.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.0992, allocations: 0 / 454.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09921, allocations: 0 / 454.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.09923, allocations: 0 / 454.6 MB, free: 1.555 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001196/0.1004, allocations: 0.7602 MB / 455.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1005, allocations: 9.156 kB / 455.4 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.1008, allocations: 88.25 kB / 455.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004852/0.1013, allocations: 350.4 kB / 455.8 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.1014, allocations: 37.38 kB / 455.9 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/0.1015, allocations: 60.27 kB / 455.9 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007769/0.1022, allocations: 446.7 kB / 456.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1023, allocations: 3.938 kB / 456.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.1023, allocations: 20 kB / 456.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1023, allocations: 12 kB / 456.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007903/0.1031, allocations: 0.4997 MB / 456.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.1055, allocations: 1.529 MB / 458.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.1062, allocations: 366.7 kB / 458.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/0.1064, allocations: 116.8 kB / 458.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001999/0.1084, allocations: 1.553 MB / 460.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.1085, allocations: 38.5 kB / 460.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1085, allocations: 3.938 kB / 460.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.01611/0.1246, allocations: 2.379 MB / 462.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1247, allocations: 51.41 kB / 462.9 MB, free: 8.746 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.1251, allocations: 292.5 kB / 463.2 MB, free: 8.449 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.1252, allocations: 33.7 kB / 463.2 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.1254, allocations: 271.4 kB / 463.5 MB, free: 8.141 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.1255, allocations: 114.4 kB / 463.6 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1255, allocations: 12 kB / 463.6 MB, free: 8.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1257, allocations: 342.8 kB / 464 MB, free: 7.672 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.1259, allocations: 132.8 kB / 464.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1262, allocations: 260 kB / 464.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/0.1268, allocations: 424.8 kB / 464.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1269, allocations: 0 / 464.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004242/0.1311, allocations: 0.8274 MB / 465.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.1312, allocations: 11.94 kB / 465.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.1312, allocations: 4 kB / 465.6 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/0.1348, allocations: 425.7 kB / 466 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.1351, allocations: 75.91 kB / 466.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006509/0.1416, allocations: 3.729 MB / 469.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.1421, allocations: 35.97 kB / 469.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1422, allocations: 23.98 kB / 469.9 MB, free: 1.355 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002508/0.1425, allocations: 159.3 kB / 470 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.433e-05/0.1426, allocations: 31.81 kB / 470.1 MB, free: 1.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/0.1477, allocations: 0.8701 MB / 470.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/0.1477, allocations: 4 kB / 470.9 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1477, allocations: 3.984 kB / 470.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1478, allocations: 0 / 470.9 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008953/0.1487, allocations: 0.6234 MB / 471.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1487, allocations: 0 / 471.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.1489, allocations: 47.98 kB / 471.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004902/0.1538, allocations: 0.5058 MB / 472.1 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.1539, allocations: 16 kB / 472.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007343/0.1612, allocations: 4.941 MB / 477.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.1613, allocations: 0 / 477.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.1669, allocations: 1.143 MB / 478.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.1671, allocations: 120.7 kB / 478.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.1671, allocations: 11.98 kB / 478.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.1675, allocations: 12 kB / 478.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.1676, allocations: 47.88 kB / 478.4 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.1676, allocations: 15.98 kB / 478.4 MB, free: 8.223 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.1679, allocations: 199.1 kB / 478.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1679, allocations: 4 kB / 478.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008075/0.1687, allocations: 239.9 kB / 478.8 MB, free: 7.793 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000531/0.1692, allocations: 283 kB / 479.1 MB, free: 7.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.1705, allocations: 0.6779 MB / 479.8 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1706, allocations: 4 kB / 479.8 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008939/0.1715, allocations: 0.6135 MB / 480.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006974/0.1722, allocations: 99.97 kB / 480.5 MB, free: 6.055 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.174, allocations: 1.291 MB / 481.8 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.1744, allocations: 0.8314 MB / 482.6 MB, free: 3.852 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.1747, allocations: 79.19 kB / 482.7 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.1749, allocations: 59.41 kB / 482.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1749, allocations: 0 / 482.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of Templates: time 0.01744/0.1923, allocations: 10.73 MB / 493.5 MB, free: 9.047 MB / 362.7 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1)