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.001106/0.001106, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001114/0.001114, allocations: 169 kB / 23.27 MB, free: 1.223 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.051/1.051, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.1443/0.1443, allocations: 17.47 MB / 277.7 MB, free: 11.42 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.342e-06/1.342e-06, allocations: 0 / 354 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.402e-05, allocations: 10.25 kB / 354 MB, free: 9.582 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.02563/0.02564, allocations: 28.82 MB / 382.8 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008995/0.03464, allocations: 11.42 MB / 394.2 MB, free: 1.434 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003273/0.03497, allocations: 15.88 kB / 394.2 MB, free: 1.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.03546, allocations: 238 kB / 394.5 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.03719, allocations: 1.043 MB / 395.5 MB, free: 136 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.0399, allocations: 1.576 MB / 397.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.04097, allocations: 1.302 MB / 398.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004807/0.04145, allocations: 0.5889 MB / 399 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000618/0.04207, allocations: 0.8501 MB / 399.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000554/0.04262, allocations: 0.5535 MB / 400.4 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.04274, allocations: 112 kB / 400.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.04474, allocations: 1.236 MB / 401.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.04491, allocations: 263.1 kB / 402 MB, free: 9.617 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002777/0.04519, allocations: 411.1 kB / 402.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.04721, allocations: 2.354 MB / 404.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.04722, allocations: 0 / 404.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.04722, allocations: 0 / 404.8 MB, free: 6.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.04723, allocations: 0 / 404.8 MB, free: 6.852 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.001473/0.0487, allocations: 1.553 MB / 406.3 MB, free: 5.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.04873, allocations: 8.031 kB / 406.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005633/0.0493, allocations: 355.1 kB / 406.7 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.04983, allocations: 0.5291 MB / 407.2 MB, free: 4.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.0499, allocations: 118 kB / 407.3 MB, free: 4.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.484e-05/0.05, allocations: 92.33 kB / 407.4 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007276/0.05072, allocations: 0.78 MB / 408.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.05074, allocations: 192 / 408.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.0508, allocations: 40.12 kB / 408.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.05081, allocations: 20 kB / 408.2 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.05155, allocations: 0.7161 MB / 408.9 MB, free: 2.543 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.1429/0.1944, allocations: 2.627 MB / 411.6 MB, free: 47.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001716/0.1961, allocations: 1.251 MB / 412.8 MB, free: 47.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.1964, allocations: 229.2 kB / 413.1 MB, free: 47.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00276/0.1992, allocations: 2.119 MB / 415.2 MB, free: 46.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1992, allocations: 41.38 kB / 415.2 MB, free: 46.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.823e-06/0.1992, allocations: 0 / 415.2 MB, free: 46.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001626/0.2008, allocations: 1.132 MB / 416.3 MB, free: 46.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.803e-05/0.2009, allocations: 59.09 kB / 416.4 MB, free: 46.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.2012, allocations: 0.5264 MB / 416.9 MB, free: 46.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.2013, allocations: 35.36 kB / 417 MB, free: 46.4 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.2015, allocations: 0.5193 MB / 417.5 MB, free: 46.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2016, allocations: 234.7 kB / 417.7 MB, free: 46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.2018, allocations: 180.3 kB / 417.9 MB, free: 45.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.2019, allocations: 0.5587 MB / 418.4 MB, free: 45.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.2021, allocations: 98.28 kB / 418.5 MB, free: 45.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.2023, allocations: 0.5631 MB / 419.1 MB, free: 44.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.2028, allocations: 0.748 MB / 419.9 MB, free: 44.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.2029, allocations: 3.031 kB / 419.9 MB, free: 44.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0007183/0.2036, allocations: 0.68 MB / 420.5 MB, free: 44.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.2036, allocations: 10.5 kB / 420.5 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2036, allocations: 11.09 kB / 420.6 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.2036, allocations: 18.88 kB / 420.6 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.2042, allocations: 265.9 kB / 420.8 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.31e-05/0.2042, allocations: 21.52 kB / 420.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.2044, allocations: 31 kB / 420.9 MB, free: 44.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.2044, allocations: 41.19 kB / 420.9 MB, free: 44.22 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.0001492/0.2046, allocations: 217.8 kB / 421.1 MB, free: 44.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.2047, allocations: 90.3 kB / 421.2 MB, free: 44.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.2053, allocations: 0.5257 MB / 421.8 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2053, allocations: 7.188 kB / 421.8 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.2054, allocations: 0 / 421.8 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2054, allocations: 5.797 kB / 421.8 MB, free: 43.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.206, allocations: 0.5758 MB / 422.3 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.206, allocations: 1.875 kB / 422.3 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003614/0.2063, allocations: 175.6 kB / 422.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2063, allocations: 3.734 kB / 422.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/0.2063, allocations: 26.16 kB / 422.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2064, allocations: 3.188 kB / 422.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2064, allocations: 5.953 kB / 422.6 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005576/0.2069, allocations: 0.7198 MB / 423.3 MB, free: 43.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.207, allocations: 115.5 kB / 423.4 MB, free: 43.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.2071, allocations: 14.69 kB / 423.4 MB, free: 43.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.2072, allocations: 17.81 kB / 423.4 MB, free: 43.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.2073, allocations: 45.7 kB / 423.5 MB, free: 43.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2073, allocations: 32.84 kB / 423.5 MB, free: 43.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001352/0.2074, allocations: 306.7 kB / 423.8 MB, free: 43.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2074, allocations: 0 / 423.8 MB, free: 43.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009416/0.2084, allocations: 482.4 kB / 424.3 MB, free: 43.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.0007758/0.2091, allocations: 0.6549 MB / 424.9 MB, free: 43.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.2096, allocations: 432 kB / 425.3 MB, free: 43.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2096, allocations: 0 / 425.3 MB, free: 43.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.2098, allocations: 209.2 kB / 425.5 MB, free: 43.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000518/0.2103, allocations: 177.4 kB / 425.7 MB, free: 43.05 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.001714/0.212, allocations: 1.372 MB / 427.1 MB, free: 42.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.411e-05/0.2121, allocations: 167 kB / 427.3 MB, free: 42.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.2124, allocations: 155.7 kB / 427.4 MB, free: 42.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/0.2127, allocations: 278 kB / 427.7 MB, free: 42.21 MB / 330.7 MB Notification: Performance of SimCode: time 9.41e-07/0.2127, allocations: 3.25 kB / 427.7 MB, free: 42.21 MB / 330.7 MB Notification: Performance of Templates: time 0.01505/0.2277, allocations: 16.48 MB / 444.2 MB, free: 31.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.5025635669007897]