Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1049/0.1049, allocations: 15.28 MB / 30.53 MB, free: 3.195 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.001007/0.001007, allocations: 189.2 kB / 35.62 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.443/1.443, allocations: 225.7 MB / 266.3 MB, free: 6.184 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.0009371/0.0009374, allocations: 95.66 kB / 321.7 MB, free: 2.211 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000445/0.0004452, allocations: 8.719 kB / 387 MB, free: 50.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1281, allocations: 54.65 MB / 441.7 MB, free: 14.88 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.SimpleReaction): time 0.03931/0.1675, allocations: 20.18 MB / 461.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01789/0.1854, allocations: 9.867 MB / 471.7 MB, free: 160 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.1868, allocations: 19.88 kB / 471.7 MB, free: 140 kB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1879, allocations: 167.2 kB / 471.9 MB, free: 15.97 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003251/0.1912, allocations: 0.5587 MB / 472.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004297/0.1955, allocations: 0.9055 MB / 473.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002104/0.1977, allocations: 0.912 MB / 474.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/0.1988, allocations: 430.9 kB / 474.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009986/0.1999, allocations: 390.7 kB / 475.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001217/0.2011, allocations: 454.3 kB / 475.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002255/0.2014, allocations: 44 kB / 475.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.2049, allocations: 0.7759 MB / 476.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.2053, allocations: 155.4 kB / 476.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007893/0.2061, allocations: 395.9 kB / 476.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.2106, allocations: 1.607 MB / 478.5 MB, free: 9.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2106, allocations: 4 kB / 478.5 MB, free: 9.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2106, allocations: 0 / 478.5 MB, free: 9.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.883e-05/0.2107, allocations: 0 / 478.5 MB, free: 9.348 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003026/0.2137, allocations: 1.014 MB / 479.5 MB, free: 8.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.2138, allocations: 9.719 kB / 479.5 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.2149, allocations: 144 kB / 479.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.216, allocations: 463.3 kB / 480.1 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/0.2161, allocations: 80.27 kB / 480.2 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.2164, allocations: 72.28 kB / 480.3 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002222/0.2186, allocations: 0.7699 MB / 481 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.2186, allocations: 0 / 481 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.2188, allocations: 32 kB / 481.1 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.2188, allocations: 16 kB / 481.1 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.2213, allocations: 0.8679 MB / 481.9 MB, free: 5.781 MB / 346.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.006469/0.2278, allocations: 2.563 MB / 484.5 MB, free: 3.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.2304, allocations: 1.017 MB / 485.5 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007897/0.2313, allocations: 306.3 kB / 485.8 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005774/0.2371, allocations: 2.77 MB / 488.6 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/0.2371, allocations: 42.5 kB / 488.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.705e-06/0.2372, allocations: 4 kB / 488.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.004043/0.2412, allocations: 1.225 MB / 489.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.2413, allocations: 55.41 kB / 489.9 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.2421, allocations: 417.7 kB / 490.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.895e-05/0.2422, allocations: 37.7 kB / 490.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.2426, allocations: 359.2 kB / 490.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.2428, allocations: 165.6 kB / 490.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.2429, allocations: 12 kB / 490.9 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2431, allocations: 358.8 kB / 491.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004757/0.2436, allocations: 145.9 kB / 491.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.2443, allocations: 392.3 kB / 491.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2457, allocations: 0.5708 MB / 492.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.2457, allocations: 7.984 kB / 492.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001776/0.2475, allocations: 0.6085 MB / 492.9 MB, free: 9.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.2476, allocations: 8 kB / 493 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.2476, allocations: 11.94 kB / 493 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.2476, allocations: 12 kB / 493 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.2489, allocations: 204.3 kB / 493.2 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.845e-05/0.249, allocations: 15.94 kB / 493.2 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.2496, allocations: 35.97 kB / 493.2 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.97e-05/0.2497, allocations: 36 kB / 493.3 MB, free: 9.605 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0003654/0.2501, allocations: 205.6 kB / 493.5 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.2502, allocations: 51.34 kB / 493.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.2517, allocations: 0.4935 MB / 494 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.2518, allocations: 7.938 kB / 494 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.2518, allocations: 0 / 494 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.2518, allocations: 3.984 kB / 494 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.2531, allocations: 0.6354 MB / 494.7 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.2531, allocations: 4 kB / 494.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008653/0.254, allocations: 143.8 kB / 494.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.254, allocations: 4 kB / 494.8 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/0.2541, allocations: 19.94 kB / 494.8 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2541, allocations: 8.125 kB / 494.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2541, allocations: 0 / 494.8 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.2556, allocations: 0.7147 MB / 495.5 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.2559, allocations: 156.5 kB / 495.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.993e-05/0.256, allocations: 15.94 kB / 495.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.2564, allocations: 15.98 kB / 495.7 MB, free: 7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.2565, allocations: 40.39 kB / 495.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.2566, allocations: 16 kB / 495.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004422/0.2571, allocations: 275.1 kB / 496 MB, free: 6.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2571, allocations: 0 / 496 MB, free: 6.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001374/0.2585, allocations: 319.8 kB / 496.4 MB, free: 6.367 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.001108/0.2596, allocations: 427.1 kB / 496.8 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.2607, allocations: 438.4 kB / 497.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2607, allocations: 0 / 497.2 MB, free: 5.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.2612, allocations: 202.8 kB / 497.4 MB, free: 5.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.2623, allocations: 131.6 kB / 497.5 MB, free: 5.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002892/0.2653, allocations: 1.548 MB / 499.1 MB, free: 3.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006914/0.266, allocations: 0.8903 MB / 500 MB, free: 2.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007786/0.2668, allocations: 124.6 kB / 0.4884 GB, free: 2.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.267, allocations: 71.41 kB / 0.4884 GB, free: 2.492 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.267, allocations: 0 / 0.4884 GB, free: 2.492 MB / 362.7 MB Notification: Performance of Templates: time 0.02487/0.2919, allocations: 9.488 MB / 0.4977 GB, free: 9.039 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction.makefile (rm -f Chemical_Chemical.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction.sim & ./Chemical_Chemical.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction.pipe 2>&1)