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.000965/0.000965, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009783/0.0009783, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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.101/1.101, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.1029/0.1029, allocations: 17.39 MB / 277.7 MB, free: 11.73 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.283e-06/1.283e-06, allocations: 0 / 353.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.746e-05, allocations: 6.312 kB / 353.4 MB, free: 10.32 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.03033/0.03036, allocations: 28.76 MB / 382.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.04212, allocations: 11.68 MB / 393.9 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.04288, allocations: 15.88 kB / 393.9 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007148/0.0436, allocations: 246 kB / 394.1 MB, free: 1.727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002554/0.04615, allocations: 1.035 MB / 395.2 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.04989, allocations: 1.576 MB / 396.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.05158, allocations: 1.29 MB / 398 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007158/0.05229, allocations: 0.5811 MB / 398.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009215/0.05322, allocations: 0.8579 MB / 399.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/0.05395, allocations: 0.5613 MB / 400 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.0541, allocations: 107.9 kB / 400.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/0.05727, allocations: 1.228 MB / 401.4 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.05753, allocations: 271.1 kB / 401.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.05794, allocations: 407.2 kB / 402 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004647/0.06259, allocations: 2.346 MB / 404.4 MB, free: 7.422 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.06259, allocations: 4 kB / 404.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.0626, allocations: 0 / 404.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.943e-05/0.06262, allocations: 0 / 404.4 MB, free: 7.418 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.002061/0.06468, allocations: 1.553 MB / 405.9 MB, free: 5.824 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.06472, allocations: 16.03 kB / 406 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/0.0655, allocations: 351 kB / 406.3 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006615/0.06616, allocations: 0.5252 MB / 406.8 MB, free: 4.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.06628, allocations: 126 kB / 406.9 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.06639, allocations: 92.31 kB / 407 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.06739, allocations: 0.8466 MB / 407.9 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.06741, allocations: 4.125 kB / 407.9 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.06747, allocations: 40.12 kB / 407.9 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.06749, allocations: 20 kB / 407.9 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.06852, allocations: 0.8469 MB / 408.8 MB, free: 2.902 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.003121/0.07164, allocations: 2.721 MB / 411.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1486/0.2202, allocations: 1.303 MB / 412.8 MB, free: 47.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.2207, allocations: 269.6 kB / 413.1 MB, free: 47.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003566/0.2243, allocations: 2.086 MB / 415.2 MB, free: 47.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2243, allocations: 40.5 kB / 415.2 MB, free: 47.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.204e-06/0.2243, allocations: 0 / 415.2 MB, free: 47.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.002488/0.2268, allocations: 1.325 MB / 416.5 MB, free: 47.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2268, allocations: 63.38 kB / 416.6 MB, free: 47.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005358/0.2274, allocations: 0.5337 MB / 417.1 MB, free: 47.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.2274, allocations: 37.8 kB / 417.2 MB, free: 46.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.2276, allocations: 0.5153 MB / 417.7 MB, free: 46.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.2278, allocations: 235.9 kB / 417.9 MB, free: 46.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002142/0.228, allocations: 177.4 kB / 418.1 MB, free: 46.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2281, allocations: 0.5452 MB / 418.6 MB, free: 46.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.2284, allocations: 132.8 kB / 418.8 MB, free: 46.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.2288, allocations: 0.5893 MB / 419.3 MB, free: 45.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.2295, allocations: 0.7894 MB / 420.1 MB, free: 44.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2295, allocations: 3.469 kB / 420.1 MB, free: 44.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001099/0.2306, allocations: 0.7433 MB / 420.9 MB, free: 44.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.2307, allocations: 10.33 kB / 420.9 MB, free: 44.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.2307, allocations: 12.62 kB / 420.9 MB, free: 44.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.2307, allocations: 18.97 kB / 420.9 MB, free: 44.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.2315, allocations: 265.2 kB / 421.2 MB, free: 44.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/0.2315, allocations: 21.33 kB / 421.2 MB, free: 44.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.2318, allocations: 32.75 kB / 421.2 MB, free: 44.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/0.2319, allocations: 49.08 kB / 421.3 MB, free: 44.8 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.0001881/0.2321, allocations: 217.6 kB / 421.5 MB, free: 44.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2322, allocations: 86.25 kB / 421.6 MB, free: 44.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009436/0.2332, allocations: 0.5677 MB / 422.1 MB, free: 44.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.2332, allocations: 4.969 kB / 422.2 MB, free: 44.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2332, allocations: 4.438 kB / 422.2 MB, free: 44.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.2332, allocations: 7.578 kB / 422.2 MB, free: 44.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.2339, allocations: 0.5639 MB / 422.7 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2339, allocations: 0 / 422.7 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.2344, allocations: 170.8 kB / 422.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.2344, allocations: 7.625 kB / 422.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.2345, allocations: 27.44 kB / 422.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2345, allocations: 4.688 kB / 422.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2345, allocations: 3.984 kB / 422.9 MB, free: 44.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008708/0.2353, allocations: 0.7863 MB / 423.7 MB, free: 44.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.2355, allocations: 109.2 kB / 423.8 MB, free: 43.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-05/0.2356, allocations: 15.48 kB / 423.8 MB, free: 43.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.2358, allocations: 14.31 kB / 423.9 MB, free: 43.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2359, allocations: 58.58 kB / 423.9 MB, free: 43.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.2359, allocations: 30.28 kB / 423.9 MB, free: 43.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002423/0.2361, allocations: 325.2 kB / 424.3 MB, free: 43.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2361, allocations: 0 / 424.3 MB, free: 43.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001096/0.2372, allocations: 484.4 kB / 424.7 MB, free: 43.86 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.0008463/0.2381, allocations: 0.6209 MB / 425.4 MB, free: 43.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006382/0.2387, allocations: 481.1 kB / 425.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2387, allocations: 0 / 425.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.239, allocations: 227.3 kB / 426 MB, free: 43.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.2396, allocations: 167 kB / 426.2 MB, free: 43.64 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.002031/0.2417, allocations: 1.393 MB / 427.6 MB, free: 42.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.2418, allocations: 164.6 kB / 427.8 MB, free: 42.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.2421, allocations: 164.6 kB / 427.9 MB, free: 42.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.2423, allocations: 100.1 kB / 428 MB, free: 42.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.452e-06/0.2423, allocations: 0 / 428 MB, free: 42.86 MB / 330.7 MB Notification: Performance of Templates: time 0.01437/0.2566, allocations: 14.31 MB / 442.3 MB, free: 33.7 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.601555044995621]