Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.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.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1068/0.1068, 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.0009155/0.0009154, 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.431/1.431, allocations: 225.7 MB / 266.3 MB, free: 6.188 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.0007589/0.000759, allocations: 99.3 kB / 321.7 MB, free: 2.203 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 9.125 kB / 387 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09747, allocations: 54.64 MB / 441.7 MB, free: 14.86 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.HydrogenCombustion): time 0.0261/0.1236, allocations: 24.89 MB / 466.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.4286/0.5522, allocations: 147.9 MB / 0.6001 GB, free: 10.46 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002243/0.5545, allocations: 37.53 kB / 0.6001 GB, free: 10.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.5565, allocations: 444.4 kB / 0.6005 GB, free: 10.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006123/0.5627, allocations: 1.427 MB / 0.6019 GB, free: 9.016 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.5728, allocations: 2.548 MB / 0.6044 GB, free: 7.086 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004197/0.5771, allocations: 2.511 MB / 0.6069 GB, free: 5.047 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.5792, allocations: 1.241 MB / 0.6081 GB, free: 3.762 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.5814, allocations: 1.192 MB / 0.6092 GB, free: 2.566 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.5837, allocations: 1.347 MB / 0.6105 GB, free: 1.215 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005919/0.5844, allocations: 120 kB / 0.6107 GB, free: 1.098 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007008/0.5914, allocations: 2.222 MB / 0.6128 GB, free: 14.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008181/0.5922, allocations: 490.2 kB / 0.6133 GB, free: 14.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.594, allocations: 1.094 MB / 0.6144 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.6047, allocations: 4.926 MB / 0.6192 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6047, allocations: 0 / 0.6192 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.6047, allocations: 4 kB / 0.6192 GB, free: 8.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001046/0.6048, allocations: 0 / 0.6192 GB, free: 8.34 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.006078/0.6109, allocations: 2.307 MB / 0.6214 GB, free: 5.977 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.611, allocations: 9.719 kB / 0.6214 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004472/0.6155, allocations: 0.8489 MB / 0.6223 GB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.6175, allocations: 0.9197 MB / 0.6232 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.6178, allocations: 207.8 kB / 0.6234 GB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.6184, allocations: 204.2 kB / 0.6236 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003843/0.6222, allocations: 2.137 MB / 0.6257 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.6223, allocations: 0 / 0.6257 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.6225, allocations: 76 kB / 0.6257 GB, free: 1.488 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.105e-05/0.6225, allocations: 48 kB / 0.6258 GB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0037/0.6262, allocations: 2.299 MB / 0.628 GB, free: 15.14 MB / 442.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.01122/0.6375, allocations: 7.614 MB / 0.6354 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004007/0.6415, allocations: 2.187 MB / 0.6376 GB, free: 4.781 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.6427, allocations: 0.8294 MB / 0.6384 GB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008453/0.6512, allocations: 6.559 MB / 0.6448 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.6513, allocations: 43.69 kB / 0.6448 GB, free: 12.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=133): time 2.916e-06/0.6513, allocations: 4 kB / 0.6448 GB, free: 12.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=176): time 0.01792/0.6692, allocations: 6.937 MB / 0.6516 GB, free: 5.566 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.6693, allocations: 103.1 kB / 0.6517 GB, free: 5.445 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/0.6705, allocations: 0.9378 MB / 0.6526 GB, free: 4.492 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.6706, allocations: 61.64 kB / 0.6527 GB, free: 4.426 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.6712, allocations: 0.8802 MB / 0.6536 GB, free: 3.531 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.6717, allocations: 0.5929 MB / 0.6541 GB, free: 2.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.6718, allocations: 48 kB / 0.6542 GB, free: 2.883 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.672, allocations: 382 kB / 0.6545 GB, free: 2.504 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6732, allocations: 0.6209 MB / 0.6551 GB, free: 1.879 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.6747, allocations: 1.201 MB / 0.6563 GB, free: 432 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.6775, allocations: 1.976 MB / 0.6583 GB, free: 14.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.6775, allocations: 7.984 kB / 0.6583 GB, free: 14.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005396/0.6829, allocations: 2.612 MB / 0.6608 GB, free: 11.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.683, allocations: 16 kB / 0.6608 GB, free: 11.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.683, allocations: 20.78 kB / 0.6608 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002498/0.6855, allocations: 0.6398 MB / 0.6615 GB, free: 10.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002135/0.6877, allocations: 491.3 kB / 0.6619 GB, free: 10.38 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009709/0.6974, allocations: 8.809 MB / 0.6705 GB, free: 1.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.6991, allocations: 111.9 kB / 0.6706 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004036/0.6996, allocations: 164 kB / 0.6708 GB, free: 0.7383 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,10,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,11), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001051/0.7006, allocations: 434.1 kB / 0.6712 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003604/0.701, allocations: 146.1 kB / 0.6714 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/0.7081, allocations: 2.732 MB / 0.674 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.802e-05/0.7081, allocations: 20 kB / 0.674 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.7082, allocations: 4 kB / 0.674 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.7082, allocations: 11.97 kB / 0.6741 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008639/0.7168, allocations: 4.256 MB / 0.6782 GB, free: 9.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.7169, allocations: 4 kB / 0.6782 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001984/0.7189, allocations: 367.6 kB / 0.6786 GB, free: 8.672 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.7215, allocations: 0.5904 MB / 0.6791 GB, free: 8.062 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/0.7217, allocations: 75.97 kB / 0.6792 GB, free: 7.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.24/0.9618, allocations: 8.102 MB / 0.6871 GB, free: 169 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9618, allocations: 1.719 kB / 0.6871 GB, free: 169 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006616/0.9685, allocations: 3.266 MB / 0.6903 GB, free: 168.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.969, allocations: 206.2 kB / 0.6905 GB, free: 168.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/0.9692, allocations: 40.64 kB / 0.6906 GB, free: 168.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.9702, allocations: 70.47 kB / 0.6906 GB, free: 168.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004449/0.9706, allocations: 171 kB / 0.6908 GB, free: 168.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002227/0.9708, allocations: 122.6 kB / 0.6909 GB, free: 168.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008713/0.9717, allocations: 0.611 MB / 0.6915 GB, free: 168.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9717, allocations: 2.656 kB / 0.6915 GB, free: 168.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003088/0.9748, allocations: 0.8408 MB / 0.6923 GB, free: 168.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (H2_gas.logn,O2_gas.logn,H2O_gas.molarVolume,H2O_gas.logn,H2_gas1.logn,O2_gas1.logn,H2O_gas1.molarVolume,H2O_gas1.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 (147): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,6,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,10), (1,8), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/0.9767, allocations: 0.7941 MB / 0.6931 GB, free: 168.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004509/0.9812, allocations: 2.449 MB / 0.6955 GB, free: 167.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9812, allocations: 0 / 0.6955 GB, free: 167.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002943/0.9842, allocations: 1.585 MB / 0.697 GB, free: 167.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.9861, allocations: 282.8 kB / 0.6973 GB, free: 167.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007487/0.9937, allocations: 4.557 MB / 0.7018 GB, free: 165.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.9951, allocations: 1.409 MB / 0.7031 GB, free: 164.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002563/0.9977, allocations: 439 kB / 0.7036 GB, free: 164.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008936/0.9986, allocations: 277.5 kB / 0.7038 GB, free: 164.4 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/0.9986, allocations: 0 / 0.7038 GB, free: 164.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04844/1.047, allocations: 34.64 MB / 0.7376 GB, free: 143.4 MB / 490.7 MB make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile (rm -f Chemical_Chemical.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Examples.HydrogenCombustion.sim & ./Chemical_Chemical.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)