Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ExothermicReaction.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.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") translateModel(Chemical.Examples.ExothermicReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.ExothermicReaction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.1019/0.1019, allocations: 15.27 MB / 30.53 MB, free: 3.078 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.00113/0.00113, allocations: 194.3 kB / 35.62 MB, free: 2.234 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.369/1.369, allocations: 225.7 MB / 266.3 MB, free: 6.176 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.0007704/0.0007704, allocations: 95.66 kB / 321.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 9.156 kB / 387 MB, free: 50.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.09944, allocations: 54.64 MB / 441.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.ExothermicReaction): time 0.01397/0.1135, allocations: 8.632 MB / 450.3 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05372/0.1673, allocations: 28.94 MB / 479.2 MB, free: 7.41 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.1698, allocations: 39.69 kB / 479.3 MB, free: 7.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.1723, allocations: 465.3 kB / 479.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007831/0.1802, allocations: 1.696 MB / 481.4 MB, free: 5.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009083/0.1893, allocations: 2.627 MB / 484.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003555/0.1929, allocations: 2.422 MB / 486.5 MB, free: 136 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.1947, allocations: 1.171 MB / 487.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001734/0.1965, allocations: 1.051 MB / 488.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.1986, allocations: 1.242 MB / 489.9 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006251/0.1993, allocations: 120 kB / 490.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007617/0.2069, allocations: 2.359 MB / 492.4 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008985/0.2078, allocations: 410.4 kB / 492.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002483/0.2103, allocations: 1.005 MB / 493.8 MB, free: 8.715 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.2235, allocations: 4.569 MB / 498.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.2235, allocations: 0 / 498.4 MB, free: 4.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2235, allocations: 3.938 kB / 498.4 MB, free: 4.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.2237, allocations: 0 / 498.4 MB, free: 4.125 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.005196/0.2289, allocations: 2.194 MB / 0.4889 GB, free: 1.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.2289, allocations: 13.72 kB / 0.4889 GB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.2308, allocations: 409.9 kB / 0.4893 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.2324, allocations: 0.9123 MB / 0.4902 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001903/0.2326, allocations: 187.5 kB / 0.4903 GB, free: 320 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/0.233, allocations: 188.3 kB / 0.4905 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.2368, allocations: 2.066 MB / 0.4925 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.2368, allocations: 0 / 0.4925 GB, free: 14.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.237, allocations: 76 kB / 0.4926 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/0.2371, allocations: 44 kB / 0.4926 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004184/0.2413, allocations: 2.573 MB / 0.4952 GB, free: 11.34 MB / 378.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.2525, allocations: 6.283 MB / 0.5013 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004876/0.2574, allocations: 2.514 MB / 0.5037 GB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.2587, allocations: 0.855 MB / 0.5046 GB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1949/0.4536, allocations: 7.899 MB / 0.5123 GB, free: 66.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.4536, allocations: 47.64 kB / 0.5123 GB, free: 66.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=122): time 5.32e-06/0.4537, allocations: 0 / 0.5123 GB, free: 66.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=150): time 0.05273/0.5064, allocations: 6.257 MB / 0.5184 GB, free: 64.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.5065, allocations: 94.39 kB / 0.5185 GB, free: 64.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.5087, allocations: 0.9285 MB / 0.5194 GB, free: 64.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002137/0.5089, allocations: 53.42 kB / 0.5195 GB, free: 64.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/0.5098, allocations: 0.827 MB / 0.5203 GB, free: 64.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007171/0.5105, allocations: 0.5161 MB / 0.5208 GB, free: 63.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.5108, allocations: 44.09 kB / 0.5209 GB, free: 63.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.511, allocations: 383.1 kB / 0.5212 GB, free: 63.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/0.5128, allocations: 0.5226 MB / 0.5217 GB, free: 63.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.5147, allocations: 1.235 MB / 0.5229 GB, free: 62.64 MB / 378.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start (fixedTemperature.T = solution_at_constant_temperature.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003071/0.5178, allocations: 2.031 MB / 0.5249 GB, free: 61.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-05/0.5179, allocations: 9.094 kB / 0.5249 GB, free: 61.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.01012/0.528, allocations: 2.569 MB / 0.5274 GB, free: 60.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.5281, allocations: 14.56 kB / 0.5274 GB, free: 60.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/0.5282, allocations: 24 kB / 0.5275 GB, free: 60.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006349/0.5345, allocations: 0.7343 MB / 0.5282 GB, free: 59.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/0.5367, allocations: 0.5226 MB / 0.5287 GB, free: 59.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.5479, allocations: 7.528 MB / 0.536 GB, free: 53.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.5499, allocations: 116.3 kB / 0.5362 GB, free: 53.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/0.5503, allocations: 115.4 kB / 0.5363 GB, free: 53.4 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: solution_at_constant_temperature.temperature = solution_at_constant_temperature.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (241): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,6,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009961/0.5513, allocations: 383.6 kB / 0.5366 GB, free: 53.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.5517, allocations: 144.8 kB / 0.5368 GB, free: 53.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009647/0.5613, allocations: 2.513 MB / 0.5392 GB, free: 51.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/0.5614, allocations: 17.2 kB / 0.5392 GB, free: 51.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.788e-05/0.5614, allocations: 3.969 kB / 0.5392 GB, free: 51.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.728e-05/0.5615, allocations: 7.969 kB / 0.5393 GB, free: 51.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/0.5675, allocations: 2.541 MB / 0.5417 GB, free: 50.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.5675, allocations: 6.031 kB / 0.5417 GB, free: 50.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.5689, allocations: 315.3 kB / 0.542 GB, free: 49.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007072/0.576, allocations: 0.7939 MB / 0.5428 GB, free: 49.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.5763, allocations: 43.78 kB / 0.5429 GB, free: 49.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01012/0.5865, allocations: 8.639 MB / 0.5513 GB, free: 41.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5865, allocations: 10.06 kB / 0.5513 GB, free: 41.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009224/0.5957, allocations: 2.843 MB / 0.5541 GB, free: 39.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.5963, allocations: 223.1 kB / 0.5543 GB, free: 39.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003777/0.5967, allocations: 28 kB / 0.5543 GB, free: 39.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5977, allocations: 55.97 kB / 0.5544 GB, free: 38.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.5981, allocations: 124.9 kB / 0.5545 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.5982, allocations: 55.98 kB / 0.5545 GB, free: 38.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008213/0.599, allocations: 0.6225 MB / 0.5552 GB, free: 38.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.599, allocations: 0 / 0.5552 GB, free: 38.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002967/0.602, allocations: 1.02 MB / 0.5562 GB, free: 37.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (A1.logn,B1.logn,H2O.logn,A.logn,B.logn,H2O1.amountOfBonds,H2O1.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 (137): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,1), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001811/0.6038, allocations: 1.06 MB / 0.5572 GB, free: 36.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.607, allocations: 2.06 MB / 0.5592 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.607, allocations: 0 / 0.5592 GB, free: 34.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00172/0.6087, allocations: 1.369 MB / 0.5605 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.6107, allocations: 305.1 kB / 0.5608 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.6157, allocations: 3.819 MB / 0.5646 GB, free: 28.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.6165, allocations: 1.268 MB / 0.5658 GB, free: 27.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0015/0.618, allocations: 329.4 kB / 0.5661 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004881/0.6185, allocations: 199.3 kB / 0.5663 GB, free: 26.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/0.6185, allocations: 4 kB / 0.5663 GB, free: 26.9 MB / 378.7 MB Notification: Performance of Templates: time 0.06165/0.6802, allocations: 35.53 MB / 0.601 GB, free: 7.492 MB / 394.7 MB make -j1 -f Chemical_Chemical.Examples.ExothermicReaction.makefile (rm -f Chemical_Chemical.Examples.ExothermicReaction.pipe ; mkfifo Chemical_Chemical.Examples.ExothermicReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ExothermicReaction.pipe >> ../files/Chemical_Chemical.Examples.ExothermicReaction.sim & ./Chemical_Chemical.Examples.ExothermicReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.ExothermicReaction.pipe 2>&1)