Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 113.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 192.6 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08735/0.08735, allocations: 15.54 MB / 318.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 69.52 kB / 446.1 MB, free: 48.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09185, allocations: 56.55 MB / 0.4908 GB, free: 20.73 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740:66: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.0297/0.1215, allocations: 25.63 MB / 0.5159 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.1374, allocations: 11.65 MB / 0.5273 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.1382, allocations: 11.94 kB / 0.5273 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008757/0.1391, allocations: 262 kB / 0.5275 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003045/0.1421, allocations: 0.989 MB / 0.5285 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.1463, allocations: 1.515 MB / 0.53 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.1483, allocations: 1.256 MB / 0.5312 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008241/0.1491, allocations: 0.5724 MB / 0.5317 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007514/0.1499, allocations: 0.6117 MB / 0.5323 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.1509, allocations: 0.6774 MB / 0.533 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.1511, allocations: 116 kB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.155, allocations: 1.291 MB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.1553, allocations: 263.2 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006498/0.156, allocations: 0.5484 MB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.1614, allocations: 2.514 MB / 0.5376 GB, free: 7.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1614, allocations: 4 kB / 0.5376 GB, free: 7.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1614, allocations: 0 / 0.5376 GB, free: 7.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1615, allocations: 0 / 0.5376 GB, free: 7.52 MB / 398.1 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.002871/0.1643, allocations: 1.525 MB / 0.5391 GB, free: 5.941 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1644, allocations: 12.03 kB / 0.5391 GB, free: 5.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.1653, allocations: 215.9 kB / 0.5393 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009374/0.1663, allocations: 0.5797 MB / 0.5399 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.1664, allocations: 100.2 kB / 0.54 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.1665, allocations: 92.33 kB / 0.5401 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.1684, allocations: 1.041 MB / 0.5411 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1684, allocations: 4 kB / 0.5411 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.1685, allocations: 32 kB / 0.5411 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.1685, allocations: 27.94 kB / 0.5412 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.1706, allocations: 1.277 MB / 0.5424 GB, free: 2.504 MB / 398.1 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.005708/0.1763, allocations: 3.478 MB / 0.5458 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.1788, allocations: 1.479 MB / 0.5472 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.1795, allocations: 399.4 kB / 0.5476 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00577/0.1853, allocations: 4.037 MB / 0.5516 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1853, allocations: 39.12 kB / 0.5516 GB, free: 8.355 MB / 414.1 MB Notification: Performance of pre-optimization done (n=56): time 2.424e-06/0.1853, allocations: 0 / 0.5516 GB, free: 8.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.00346/0.1888, allocations: 1.675 MB / 0.5532 GB, free: 6.629 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.1888, allocations: 59.97 kB / 0.5533 GB, free: 6.559 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006304/0.1895, allocations: 0.5184 MB / 0.5538 GB, free: 6.031 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.1895, allocations: 37.7 kB / 0.5538 GB, free: 5.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.1899, allocations: 467.8 kB / 0.5543 GB, free: 5.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.1901, allocations: 238 kB / 0.5545 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.1903, allocations: 170.6 kB / 0.5547 GB, free: 5.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.1905, allocations: 378.8 kB / 0.555 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.1909, allocations: 209.9 kB / 0.5552 GB, free: 4.535 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.1916, allocations: 0.5334 MB / 0.5558 GB, free: 3.848 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1927, allocations: 0.817 MB / 0.5566 GB, free: 2.883 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.1927, allocations: 8 kB / 0.5566 GB, free: 2.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001466/0.1942, allocations: 0.8505 MB / 0.5574 GB, free: 2.016 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.1942, allocations: 8 kB / 0.5574 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.1942, allocations: 12 kB / 0.5574 GB, free: 1.996 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/0.1942, allocations: 19.94 kB / 0.5574 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009928/0.1952, allocations: 263.6 kB / 0.5577 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-05/0.1953, allocations: 23.88 kB / 0.5577 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004429/0.1957, allocations: 36.05 kB / 0.5577 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/0.1958, allocations: 52 kB / 0.5578 GB, free: 1.609 MB / 414.1 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.0003522/0.1962, allocations: 233.5 kB / 0.558 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1963, allocations: 71.52 kB / 0.5581 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.1977, allocations: 0.6931 MB / 0.5588 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.1977, allocations: 11.98 kB / 0.5588 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1977, allocations: 0 / 0.5588 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1977, allocations: 0 / 0.5588 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1989, allocations: 0.7759 MB / 0.5595 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.335e-06/0.1989, allocations: 3.984 kB / 0.5595 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008656/0.1998, allocations: 172 kB / 0.5597 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.1998, allocations: 4 kB / 0.5597 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.1998, allocations: 23.94 kB / 0.5597 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/0.1998, allocations: 11.88 kB / 0.5597 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.1998, allocations: 7.938 kB / 0.5597 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.2013, allocations: 0.9485 MB / 0.5607 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.2016, allocations: 188.6 kB / 0.5608 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.2017, allocations: 19.94 kB / 0.5609 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.202, allocations: 19.92 kB / 0.5609 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2021, allocations: 52.5 kB / 0.5609 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.2021, allocations: 24 kB / 0.561 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004121/0.2025, allocations: 342.8 kB / 0.5613 GB, free: 13.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2025, allocations: 0 / 0.5613 GB, free: 13.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001303/0.2038, allocations: 486.6 kB / 0.5617 GB, free: 13.42 MB / 430.1 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.001084/0.2049, allocations: 0.6027 MB / 0.5623 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.206, allocations: 0.5729 MB / 0.5629 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.206, allocations: 4.062 kB / 0.5629 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.2064, allocations: 259 kB / 0.5631 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.2073, allocations: 164 kB / 0.5633 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.2099, allocations: 1.535 MB / 0.5648 GB, free: 10.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.2105, allocations: 0.954 MB / 0.5657 GB, free: 9.254 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.2108, allocations: 131.4 kB / 0.5659 GB, free: 9.125 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2108, allocations: 0 / 0.5659 GB, free: 9.125 MB / 430.1 MB Notification: Performance of Templates: time 0.01913/0.23, allocations: 12.48 MB / 0.578 GB, free: 12.69 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.952064533950761] Failed to read output from testmodel.py, exit status != 0: 0.40955323493108153 0.25111676299999997 0.08674462899999995 Calling exit ...