Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09649/0.09649, allocations: 15.28 MB / 30.53 MB, free: 3.07 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.000905/0.0009053, allocations: 194.8 kB / 35.63 MB, free: 2.227 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.443/1.443, allocations: 225.7 MB / 266.3 MB, free: 5.68 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.0008183/0.0008183, allocations: 98.48 kB / 321.7 MB, free: 1.812 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 8.188 kB / 387 MB, free: 50.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09472, allocations: 54.65 MB / 441.7 MB, free: 14.79 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.SimpleReaction2): time 0.02465/0.1194, allocations: 21.04 MB / 462.7 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01393/0.1334, allocations: 14.47 MB / 477.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007211/0.1341, allocations: 19.81 kB / 477.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007458/0.1349, allocations: 238.7 kB / 477.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002317/0.1372, allocations: 0.811 MB / 478.2 MB, free: 9.227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.1416, allocations: 1.317 MB / 479.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1434, allocations: 1.209 MB / 480.8 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007909/0.1442, allocations: 0.5829 MB / 481.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.1448, allocations: 0.5179 MB / 481.9 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007954/0.1456, allocations: 0.615 MB / 482.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.1458, allocations: 63.92 kB / 482.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.1492, allocations: 1.158 MB / 483.7 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.1494, allocations: 211.2 kB / 483.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005059/0.1499, allocations: 0.511 MB / 484.4 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004347/0.1543, allocations: 2.281 MB / 486.7 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1543, allocations: 3.984 kB / 486.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1543, allocations: 0 / 486.7 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.1544, allocations: 4 kB / 486.7 MB, free: 0.6953 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002237/0.1566, allocations: 1.259 MB / 488 MB, free: 15.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1567, allocations: 9.156 kB / 488 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.1575, allocations: 207.5 kB / 488.2 MB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007987/0.1583, allocations: 0.5479 MB / 488.7 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1584, allocations: 96.27 kB / 488.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.1586, allocations: 92.28 kB / 488.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.1604, allocations: 1.038 MB / 490 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.1604, allocations: 7.938 kB / 490 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.1605, allocations: 36 kB / 490 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.1605, allocations: 24 kB / 490 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.1624, allocations: 1.269 MB / 491.3 MB, free: 12 MB / 362.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.005061/0.1675, allocations: 3.434 MB / 494.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.1697, allocations: 1.521 MB / 496.2 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.1704, allocations: 427.7 kB / 496.7 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005018/0.1754, allocations: 3.967 MB / 0.4889 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1755, allocations: 43.06 kB / 0.4889 GB, free: 1.883 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.925e-06/0.1755, allocations: 0 / 0.4889 GB, free: 1.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.003193/0.1787, allocations: 1.654 MB / 0.4905 GB, free: 180 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1787, allocations: 63.91 kB / 0.4906 GB, free: 104 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.1793, allocations: 0.5145 MB / 0.4911 GB, free: 15.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.1794, allocations: 37.7 kB / 0.4911 GB, free: 15.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.1797, allocations: 454.3 kB / 0.4916 GB, free: 15.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1798, allocations: 224.8 kB / 0.4918 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.1799, allocations: 20 kB / 0.4918 GB, free: 14.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.18, allocations: 374.8 kB / 0.4922 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000356/0.1804, allocations: 209.9 kB / 0.4924 GB, free: 14.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.181, allocations: 0.5333 MB / 0.4929 GB, free: 13.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009666/0.1819, allocations: 0.8014 MB / 0.4937 GB, free: 12.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.182, allocations: 4 kB / 0.4937 GB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001267/0.1832, allocations: 0.8457 MB / 0.4945 GB, free: 11.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.1833, allocations: 8 kB / 0.4945 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.1833, allocations: 12 kB / 0.4945 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.1833, allocations: 19.94 kB / 0.4945 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.1842, allocations: 268.2 kB / 0.4948 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.1843, allocations: 23.92 kB / 0.4948 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.1847, allocations: 51.97 kB / 0.4949 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.1848, allocations: 55.98 kB / 0.4949 GB, free: 11.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.1851, allocations: 233.5 kB / 0.4951 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.602e-05/0.1852, allocations: 67.16 kB / 0.4952 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.1865, allocations: 0.6775 MB / 0.4959 GB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1865, allocations: 8 kB / 0.4959 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1865, allocations: 0 / 0.4959 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1865, allocations: 3.984 kB / 0.4959 GB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/0.1875, allocations: 0.7682 MB / 0.4966 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.1876, allocations: 11.98 kB / 0.4966 GB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007198/0.1883, allocations: 171.9 kB / 0.4968 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1883, allocations: 4 kB / 0.4968 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/0.1883, allocations: 31.92 kB / 0.4968 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.1884, allocations: 4 kB / 0.4968 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1884, allocations: 0 / 0.4968 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.1897, allocations: 0.9441 MB / 0.4978 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.1899, allocations: 196.1 kB / 0.498 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.19, allocations: 15.94 kB / 0.498 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.1903, allocations: 31.92 kB / 0.498 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.1905, allocations: 48.5 kB / 0.498 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.166e-05/0.1905, allocations: 24 kB / 0.4981 GB, free: 7.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003464/0.1909, allocations: 334.8 kB / 0.4984 GB, free: 7.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1909, allocations: 0 / 0.4984 GB, free: 7.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00113/0.192, allocations: 467.6 kB / 0.4988 GB, free: 7.203 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (solution.temperature,A.logn,B.logn,C.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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000873/0.1929, allocations: 0.5648 MB / 0.4994 GB, free: 6.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009069/0.1938, allocations: 0.5993 MB / 0.5 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1938, allocations: 0 / 0.5 GB, free: 6.027 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.1942, allocations: 283 kB / 0.5002 GB, free: 5.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/0.195, allocations: 156.9 kB / 0.5004 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.1975, allocations: 1.948 MB / 0.5023 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/0.1981, allocations: 0.9659 MB / 0.5032 GB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006367/0.1987, allocations: 165.6 kB / 0.5034 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.1989, allocations: 99.39 kB / 0.5035 GB, free: 2.348 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.1989, allocations: 0 / 0.5035 GB, free: 2.348 MB / 378.7 MB Notification: Performance of Templates: time 0.1829/0.3818, allocations: 13.26 MB / 0.5164 GB, free: 67.35 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1)