Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.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.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1382/0.1382, allocations: 15.28 MB / 30.53 MB, free: 3.207 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.001248/0.001249, allocations: 186.8 kB / 35.62 MB, free: 2.258 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.449/1.449, allocations: 225.7 MB / 266.3 MB, free: 6.191 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.000793/0.000793, allocations: 94.48 kB / 321.7 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002846, allocations: 7.125 kB / 387 MB, free: 50.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09132, allocations: 54.64 MB / 441.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.004905/0.09627, allocations: 4.095 MB / 445.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1065, allocations: 10.52 MB / 456.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.107, allocations: 15.88 kB / 456.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.1075, allocations: 159 kB / 456.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1092, allocations: 0.6795 MB / 457.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.1115, allocations: 0.8743 MB / 458 MB, free: 13.88 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008833/0.1124, allocations: 0.8537 MB / 458.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.1129, allocations: 407.6 kB / 459.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004369/0.1133, allocations: 402.7 kB / 459.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.1138, allocations: 430.4 kB / 460.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.1139, allocations: 40 kB / 460.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.1161, allocations: 0.8226 MB / 460.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1162, allocations: 143.5 kB / 461.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.1166, allocations: 395.8 kB / 461.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002195/0.1188, allocations: 1.631 MB / 463.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1188, allocations: 0 / 463.1 MB, free: 8.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1188, allocations: 4 kB / 463.1 MB, free: 8.754 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1188, allocations: 0 / 463.1 MB, free: 8.754 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001691/0.1205, allocations: 0.9897 MB / 464.1 MB, free: 7.719 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1206, allocations: 9.156 kB / 464.1 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005588/0.1212, allocations: 148 kB / 464.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.1218, allocations: 443.3 kB / 464.7 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/0.1218, allocations: 54.38 kB / 464.7 MB, free: 7.035 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1219, allocations: 64.38 kB / 464.8 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.123, allocations: 0.755 MB / 465.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.123, allocations: 4 kB / 465.5 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.1231, allocations: 24 kB / 465.6 MB, free: 6.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1231, allocations: 16 kB / 465.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.1245, allocations: 0.8745 MB / 466.5 MB, free: 5.289 MB / 330.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.00324/0.1277, allocations: 2.334 MB / 468.8 MB, free: 2.828 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.1293, allocations: 1.027 MB / 469.8 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.1297, allocations: 288.4 kB / 470.1 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003605/0.1333, allocations: 2.805 MB / 472.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1333, allocations: 38.56 kB / 472.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.864e-06/0.1334, allocations: 4 kB / 472.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.016/0.1494, allocations: 2.832 MB / 475.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.1494, allocations: 55.97 kB / 475.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000438/0.1499, allocations: 401.8 kB / 476.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.1499, allocations: 37.7 kB / 476.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.1501, allocations: 366.9 kB / 476.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.1503, allocations: 201.1 kB / 476.8 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1503, allocations: 15.94 kB / 476.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1505, allocations: 370.7 kB / 477.2 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.1508, allocations: 205.9 kB / 477.4 MB, free: 9.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004829/0.1513, allocations: 461.9 kB / 477.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.1522, allocations: 0.7134 MB / 478.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1522, allocations: 0 / 478.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004767/0.157, allocations: 1.144 MB / 479.7 MB, free: 7.152 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.157, allocations: 12 kB / 479.7 MB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.157, allocations: 11.94 kB / 479.7 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/0.1609, allocations: 453.2 kB / 480.2 MB, free: 6.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.1614, allocations: 163.7 kB / 480.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007503/0.1689, allocations: 4.238 MB / 484.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.1696, allocations: 47.95 kB / 484.6 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.1697, allocations: 43.98 kB / 484.7 MB, free: 1.914 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (81): * Single equations (assignments): 79 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003223/0.17, allocations: 207.1 kB / 484.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1701, allocations: 55.34 kB / 484.9 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.1758, allocations: 1.104 MB / 486 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1758, allocations: 8 kB / 486 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1758, allocations: 112 / 486 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.1759, allocations: 11.92 kB / 486 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006522/0.1824, allocations: 1.829 MB / 487.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.1824, allocations: 4.094 kB / 487.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.1828, allocations: 96 kB / 488 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004748/0.1875, allocations: 0.5253 MB / 488.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.1876, allocations: 23.98 kB / 488.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008133/0.1957, allocations: 5.456 MB / 494 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1958, allocations: 4.094 kB / 494 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00586/0.2016, allocations: 1.424 MB / 495.4 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001659/0.2018, allocations: 124.5 kB / 495.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.589e-05/0.2019, allocations: 12 kB / 495.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.2023, allocations: 27.92 kB / 495.6 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.2025, allocations: 56.42 kB / 495.6 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.2026, allocations: 31.98 kB / 495.6 MB, free: 6.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.2029, allocations: 263.2 kB / 495.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2029, allocations: 0 / 495.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001385/0.2043, allocations: 391.8 kB / 496.3 MB, free: 5.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (Ethanol.logn,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 (48): * Single equations (assignments): 45 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000755/0.205, allocations: 462.8 kB / 496.7 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.2065, allocations: 0.8813 MB / 497.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2065, allocations: 0 / 497.6 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.2075, allocations: 0.7301 MB / 498.3 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.2084, allocations: 135.1 kB / 498.5 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2107, allocations: 1.683 MB / 0.4884 GB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.2112, allocations: 0.8913 MB / 0.4893 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005285/0.2117, allocations: 132.8 kB / 0.4894 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.2119, allocations: 99.27 kB / 0.4895 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2119, allocations: 0 / 0.4895 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of Templates: time 0.02364/0.2356, allocations: 15.17 MB / 0.5043 GB, free: 1.461 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.HeatingOfAlcohol.makefile (rm -f Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfAlcohol.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfAlcohol.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfAlcohol.sim & ./Chemical_Chemical.Examples.HeatingOfAlcohol -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfAlcohol.pipe 2>&1)