Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001493/0.001493, 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.00182/0.00182, 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.066/1.066, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09603/0.09603, allocations: 17.46 MB / 277.7 MB, free: 11.65 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 353.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.192e-05/3.35e-05, allocations: 6.25 kB / 353.6 MB, free: 10.18 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.03814/0.03818, allocations: 28.76 MB / 382.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00993/0.04811, allocations: 11.68 MB / 394 MB, free: 1.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.04873, allocations: 15.88 kB / 394 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.04933, allocations: 238 kB / 394.2 MB, free: 1.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.05144, allocations: 1.039 MB / 395.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003466/0.05491, allocations: 1.58 MB / 396.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00161/0.05652, allocations: 1.29 MB / 398.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008181/0.05734, allocations: 0.585 MB / 398.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009314/0.05827, allocations: 0.8501 MB / 399.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007759/0.05905, allocations: 0.569 MB / 400.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.05923, allocations: 108 kB / 400.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00319/0.06242, allocations: 1.224 MB / 401.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.06269, allocations: 267.1 kB / 401.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004687/0.06316, allocations: 407.2 kB / 402.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.06824, allocations: 2.35 MB / 404.5 MB, free: 7.277 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.06825, allocations: 3.938 kB / 404.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06825, allocations: 0 / 404.5 MB, free: 7.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.318e-05/0.06829, allocations: 0 / 404.5 MB, free: 7.273 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.002698/0.07099, allocations: 1.553 MB / 406.1 MB, free: 5.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.07103, allocations: 12.02 kB / 406.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.07209, allocations: 351 kB / 406.4 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.07291, allocations: 0.5291 MB / 406.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.07303, allocations: 122 kB / 407.1 MB, free: 4.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.07317, allocations: 92.33 kB / 407.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.07448, allocations: 0.8505 MB / 408 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.0745, allocations: 4.188 kB / 408 MB, free: 3.664 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-05/0.07458, allocations: 36.12 kB / 408 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.07461, allocations: 24 kB / 408.1 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.07601, allocations: 0.8469 MB / 408.9 MB, free: 2.758 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.1385/0.2146, allocations: 2.716 MB / 411.6 MB, free: 62.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.2169, allocations: 1.307 MB / 412.9 MB, free: 62.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.2174, allocations: 269.1 kB / 413.2 MB, free: 62.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00371/0.2211, allocations: 2.088 MB / 415.3 MB, free: 61.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.2212, allocations: 41.88 kB / 415.3 MB, free: 61.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 3.527e-06/0.2212, allocations: 4.062 kB / 415.3 MB, free: 61.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.002451/0.2236, allocations: 1.328 MB / 416.7 MB, free: 61.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2237, allocations: 58.25 kB / 416.7 MB, free: 60.96 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005561/0.2242, allocations: 0.5327 MB / 417.2 MB, free: 60.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.2243, allocations: 36.14 kB / 417.3 MB, free: 60.64 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.2245, allocations: 0.5163 MB / 417.8 MB, free: 60.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.2247, allocations: 232.7 kB / 418 MB, free: 60.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.2249, allocations: 180 kB / 418.2 MB, free: 60.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.225, allocations: 0.5496 MB / 418.8 MB, free: 59.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.2253, allocations: 131.2 kB / 418.9 MB, free: 59.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004226/0.2257, allocations: 0.5837 MB / 419.5 MB, free: 58.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.2265, allocations: 0.791 MB / 420.3 MB, free: 58.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2265, allocations: 2.594 kB / 420.3 MB, free: 58.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001143/0.2276, allocations: 0.7406 MB / 421 MB, free: 57.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.2277, allocations: 10.45 kB / 421 MB, free: 57.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.2277, allocations: 10.47 kB / 421 MB, free: 57.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.629e-05/0.2277, allocations: 23.34 kB / 421 MB, free: 57.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007505/0.2285, allocations: 259.7 kB / 421.3 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.696e-05/0.2285, allocations: 23.58 kB / 421.3 MB, free: 57.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.2289, allocations: 30.58 kB / 421.3 MB, free: 57.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.2289, allocations: 52.77 kB / 421.4 MB, free: 57.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.0001883/0.2291, allocations: 214 kB / 421.6 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2293, allocations: 89.75 kB / 421.7 MB, free: 57.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009837/0.2302, allocations: 0.5624 MB / 422.3 MB, free: 57.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.2302, allocations: 10.56 kB / 422.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.2302, allocations: 1.781 kB / 422.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2303, allocations: 7.578 kB / 422.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007312/0.231, allocations: 0.5653 MB / 422.8 MB, free: 57.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.231, allocations: 1.594 kB / 422.8 MB, free: 57.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.2315, allocations: 175.8 kB / 423 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.2315, allocations: 4.312 kB / 423 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.2316, allocations: 22.73 kB / 423 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2316, allocations: 5.938 kB / 423 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2316, allocations: 7.875 kB / 423.1 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.2325, allocations: 0.7863 MB / 423.8 MB, free: 56.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.2327, allocations: 107.2 kB / 423.9 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.2327, allocations: 16.62 kB / 424 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.2329, allocations: 12.8 kB / 424 MB, free: 56.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.233, allocations: 65.56 kB / 424 MB, free: 56.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.2331, allocations: 23.69 kB / 424.1 MB, free: 56.49 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.2333, allocations: 324.5 kB / 424.4 MB, free: 56.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2333, allocations: 0 / 424.4 MB, free: 56.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001198/0.2345, allocations: 487.4 kB / 424.9 MB, free: 56.27 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.0009647/0.2355, allocations: 0.621 MB / 425.5 MB, free: 56.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006927/0.2361, allocations: 477.7 kB / 425.9 MB, free: 55.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2361, allocations: 0 / 425.9 MB, free: 55.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.2364, allocations: 227.7 kB / 426.2 MB, free: 55.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.2371, allocations: 160.3 kB / 426.3 MB, free: 55.84 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.002299/0.2394, allocations: 1.404 MB / 427.7 MB, free: 55.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2395, allocations: 169 kB / 427.9 MB, free: 54.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000415/0.2399, allocations: 168.2 kB / 428.1 MB, free: 54.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.2401, allocations: 95.8 kB / 428.1 MB, free: 54.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.2401, allocations: 0 / 428.1 MB, free: 54.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01679/0.2568, allocations: 14.31 MB / 442.5 MB, free: 42.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.586012813029811]