Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.067/1.067, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.09864/0.09864, allocations: 17.38 MB / 278.4 MB, free: 11.48 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 354.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.05e-05, allocations: 5.547 kB / 354.7 MB, free: 9.695 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.Obsolete.Examples.SimpleReaction2): time 0.03156/0.03158, allocations: 28.79 MB / 383.5 MB, free: 13.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01288/0.04447, allocations: 11.42 MB / 394.9 MB, free: 1.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005761/0.04504, allocations: 19.81 kB / 394.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.04573, allocations: 242 kB / 395.1 MB, free: 1.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.04814, allocations: 1.039 MB / 396.2 MB, free: 272 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.05109, allocations: 1.576 MB / 397.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.05259, allocations: 1.29 MB / 399 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000649/0.05324, allocations: 0.5889 MB / 399.6 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000785/0.05402, allocations: 0.8579 MB / 400.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.05472, allocations: 0.5613 MB / 401 MB, free: 11.35 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.05488, allocations: 111.9 kB / 401.2 MB, free: 11.24 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/0.05714, allocations: 1.22 MB / 402.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002333/0.05738, allocations: 271.1 kB / 402.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.05785, allocations: 411.2 kB / 403 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002814/0.06066, allocations: 2.35 MB / 405.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.06067, allocations: 4 kB / 405.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.06067, allocations: 0 / 405.4 MB, free: 6.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.06068, allocations: 0 / 405.4 MB, free: 6.988 MB / 330.7 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.002111/0.06279, allocations: 1.561 MB / 407 MB, free: 5.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.06282, allocations: 8.031 kB / 407 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/0.06363, allocations: 343.1 kB / 407.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.06438, allocations: 0.5291 MB / 407.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.06448, allocations: 122 kB / 407.9 MB, free: 4.352 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.06463, allocations: 100.3 kB / 408 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.06572, allocations: 0.7723 MB / 408.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.06574, allocations: 192 / 408.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.06583, allocations: 40.12 kB / 408.9 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.06585, allocations: 20 kB / 408.9 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.06701, allocations: 0.7239 MB / 409.6 MB, free: 2.672 MB / 330.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.1443/0.2114, allocations: 2.626 MB / 412.2 MB, free: 47.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00207/0.2134, allocations: 1.247 MB / 413.5 MB, free: 47.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.2138, allocations: 234.7 kB / 413.7 MB, free: 47.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/0.2168, allocations: 2.087 MB / 415.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.2169, allocations: 40.83 kB / 415.8 MB, free: 47.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.793e-06/0.2169, allocations: 0 / 415.8 MB, free: 47.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001584/0.2185, allocations: 1.129 MB / 417 MB, free: 46.92 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.2185, allocations: 61.7 kB / 417 MB, free: 46.86 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.2188, allocations: 0.5263 MB / 417.5 MB, free: 46.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.2189, allocations: 39.33 kB / 417.6 MB, free: 46.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.2191, allocations: 0.5202 MB / 418.1 MB, free: 46.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.2192, allocations: 232.5 kB / 418.3 MB, free: 46.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.2194, allocations: 183.1 kB / 418.5 MB, free: 46.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2196, allocations: 0.5526 MB / 419.1 MB, free: 45.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.2198, allocations: 99.25 kB / 419.2 MB, free: 45.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.2201, allocations: 0.568 MB / 419.7 MB, free: 45.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.2206, allocations: 0.7487 MB / 420.5 MB, free: 44.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2206, allocations: 3.438 kB / 420.5 MB, free: 44.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0007446/0.2214, allocations: 0.6749 MB / 421.2 MB, free: 44.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.2214, allocations: 9.375 kB / 421.2 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2214, allocations: 17.61 kB / 421.2 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.2214, allocations: 16.38 kB / 421.2 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.222, allocations: 262.9 kB / 421.5 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.043e-05/0.222, allocations: 22.3 kB / 421.5 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.2222, allocations: 29.67 kB / 421.5 MB, free: 44.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.2223, allocations: 45.25 kB / 421.5 MB, free: 44.45 MB / 330.7 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.000165/0.2224, allocations: 216.7 kB / 421.8 MB, free: 44.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.48e-05/0.2225, allocations: 85.7 kB / 421.8 MB, free: 44.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.2233, allocations: 0.5255 MB / 422.4 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2233, allocations: 6.719 kB / 422.4 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2233, allocations: 1.156 kB / 422.4 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2233, allocations: 3.516 kB / 422.4 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005967/0.2239, allocations: 0.5775 MB / 423 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.2239, allocations: 1.156 kB / 423 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.2243, allocations: 177.5 kB / 423.1 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.2243, allocations: 4.875 kB / 423.1 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.2243, allocations: 26.09 kB / 423.2 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2244, allocations: 7.125 kB / 423.2 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2244, allocations: 4.297 kB / 423.2 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005916/0.2249, allocations: 0.7166 MB / 423.9 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.2251, allocations: 109 kB / 424 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.2251, allocations: 14.05 kB / 424 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2253, allocations: 17.09 kB / 424 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.2253, allocations: 53.33 kB / 424.1 MB, free: 43.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.2254, allocations: 23.66 kB / 424.1 MB, free: 43.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.2255, allocations: 309.7 kB / 424.4 MB, free: 43.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2255, allocations: 0 / 424.4 MB, free: 43.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009306/0.2265, allocations: 485.1 kB / 424.9 MB, free: 43.5 MB / 330.7 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.0007192/0.2272, allocations: 0.6523 MB / 425.5 MB, free: 43.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.2276, allocations: 430.4 kB / 425.9 MB, free: 43.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2276, allocations: 2.094 kB / 426 MB, free: 43.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.2278, allocations: 206.5 kB / 426.2 MB, free: 43.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.2283, allocations: 174.8 kB / 426.3 MB, free: 43.28 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.23, allocations: 1.379 MB / 427.7 MB, free: 42.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.08e-05/0.2301, allocations: 165.7 kB / 427.9 MB, free: 42.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.2304, allocations: 161.8 kB / 428 MB, free: 42.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.2307, allocations: 275.4 kB / 428.3 MB, free: 42.44 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.2307, allocations: 0 / 428.3 MB, free: 42.44 MB / 330.7 MB Notification: Performance of Templates: time 0.01818/0.2489, allocations: 16.64 MB / 444.9 MB, free: 31.31 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4805024778470397]