Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.09847/0.09847, allocations: 15.28 MB / 30.53 MB, free: 3.055 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.001149/0.001149, allocations: 186.6 kB / 35.62 MB, free: 2.23 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.531/1.531, allocations: 225.7 MB / 266.3 MB, free: 6.164 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.000902/0.000902, allocations: 95.67 kB / 321.7 MB, free: 2.191 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004151, allocations: 8.438 kB / 387 MB, free: 50.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1115, allocations: 54.65 MB / 441.7 MB, free: 14.85 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.CheckSubstancesData.SimpleReaction2): time 0.02201/0.1336, allocations: 19.61 MB / 461.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1449, allocations: 11.57 MB / 472.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006387/0.1456, allocations: 15.88 kB / 472.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006615/0.1463, allocations: 206.9 kB / 473.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.1472, allocations: 313.8 kB / 473.4 MB, free: 14.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.1508, allocations: 1.231 MB / 474.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009231/0.1518, allocations: 0.6657 MB / 475.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.1521, allocations: 197.4 kB / 475.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.1524, allocations: 279.1 kB / 475.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.1529, allocations: 330.8 kB / 476.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.1529, allocations: 16 kB / 476.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.1552, allocations: 0.7876 MB / 476.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.1554, allocations: 115.5 kB / 477 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.1557, allocations: 272.4 kB / 477.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002473/0.1581, allocations: 1.382 MB / 478.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1582, allocations: 0 / 478.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1582, allocations: 0 / 478.6 MB, free: 9.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1582, allocations: 0 / 478.6 MB, free: 9.066 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001248/0.1594, allocations: 0.8217 MB / 479.4 MB, free: 8.191 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1595, allocations: 13.72 kB / 479.5 MB, free: 8.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000655/0.1602, allocations: 148 kB / 479.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.1607, allocations: 429.8 kB / 480 MB, free: 7.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.1608, allocations: 25.03 kB / 480 MB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.553e-05/0.1609, allocations: 32.12 kB / 480.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000826/0.1617, allocations: 0.5299 MB / 480.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1617, allocations: 0 / 480.6 MB, free: 6.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.1618, allocations: 12 kB / 480.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1618, allocations: 8 kB / 480.6 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1629, allocations: 0.8063 MB / 481.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.1654, allocations: 1.87 MB / 483.3 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.1658, allocations: 206.5 kB / 483.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.166, allocations: 136.8 kB / 483.6 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003168/0.1692, allocations: 2.64 MB / 486.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.1693, allocations: 34.56 kB / 486.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.1693, allocations: 0 / 486.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005736/0.1699, allocations: 285 kB / 486.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1699, allocations: 59.39 kB / 486.6 MB, free: 436 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.1705, allocations: 474.8 kB / 487.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.1705, allocations: 33.7 kB / 487.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.1707, allocations: 295.2 kB / 487.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.1708, allocations: 63.02 kB / 487.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.1708, allocations: 8 kB / 487.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.171, allocations: 362.7 kB / 487.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1712, allocations: 84.83 kB / 487.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.1715, allocations: 361.1 kB / 488.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006/0.1721, allocations: 496.3 kB / 488.8 MB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.1721, allocations: 4 kB / 488.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007362/0.1729, allocations: 493.2 kB / 489.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1729, allocations: 8 kB / 489.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1729, allocations: 12 kB / 489.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.173, allocations: 15.98 kB / 489.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.1733, allocations: 111.8 kB / 489.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.067e-05/0.1733, allocations: 23.86 kB / 489.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.1736, allocations: 55.44 kB / 489.5 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.1737, allocations: 43.92 kB / 489.5 MB, free: 13.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001909/0.1739, allocations: 177.8 kB / 489.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.174, allocations: 47.44 kB / 489.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.1747, allocations: 395.8 kB / 490.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1747, allocations: 0 / 490.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1747, allocations: 0 / 490.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.1748, allocations: 3.984 kB / 490.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007861/0.1755, allocations: 0.7132 MB / 490.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1756, allocations: 0 / 490.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.419e-05/0.1756, allocations: 19.92 kB / 490.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.1756, allocations: 0 / 490.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1757, allocations: 4 kB / 490.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.1757, allocations: 3.938 kB / 490.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/0.1757, allocations: 4.188 kB / 490.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.1759, allocations: 196.8 kB / 491.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.1761, allocations: 156.4 kB / 491.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.1762, allocations: 12 kB / 491.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1763, allocations: 0 / 491.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.1764, allocations: 11.92 kB / 491.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1764, allocations: 4 kB / 491.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000516/0.1769, allocations: 410.8 kB / 491.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1769, allocations: 0 / 491.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007999/0.1777, allocations: 247.6 kB / 491.9 MB, free: 10.69 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.0006755/0.1784, allocations: 410.7 kB / 492.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.1788, allocations: 217.8 kB / 492.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1788, allocations: 320 / 492.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.1789, allocations: 39.92 kB / 492.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.1796, allocations: 108.8 kB / 492.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.1806, allocations: 0.8288 MB / 493.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.181, allocations: 0.8116 MB / 494.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004392/0.1815, allocations: 132.2 kB / 494.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.1816, allocations: 63.41 kB / 494.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1816, allocations: 0 / 494.5 MB, free: 8.02 MB / 362.7 MB Notification: Performance of Templates: time 0.01354/0.1952, allocations: 8.286 MB / 0.491 GB, free: 15.75 MB / 378.7 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1)