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.001012/0.001012, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001134/0.001134, allocations: 173 kB / 23.02 MB, free: 1.543 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.089/1.089, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.09158/0.09158, allocations: 17.39 MB / 277.3 MB, free: 11.62 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 2.705e-06/2.705e-06, allocations: 0 / 353.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.317e-05/3.588e-05, allocations: 2.312 kB / 353.4 MB, free: 9.988 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.04327/0.04331, allocations: 28.83 MB / 382.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.05705, allocations: 11.76 MB / 394 MB, free: 1.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000931/0.05798, allocations: 15.88 kB / 394 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000871/0.05885, allocations: 238 kB / 394.3 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.06213, allocations: 1.043 MB / 395.3 MB, free: 184 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00456/0.06669, allocations: 1.572 MB / 396.9 MB, free: 14.6 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.06807, allocations: 1.294 MB / 398.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.06879, allocations: 0.585 MB / 398.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.07008, allocations: 0.854 MB / 399.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006975/0.07078, allocations: 0.5651 MB / 400.2 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.07091, allocations: 108 kB / 400.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.07327, allocations: 1.232 MB / 401.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.07348, allocations: 263.1 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.0738, allocations: 415.2 kB / 402.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002825/0.07663, allocations: 2.354 MB / 404.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.07663, allocations: 0 / 404.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.07664, allocations: 0 / 404.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.818e-05/0.07665, allocations: 0 / 404.5 MB, free: 6.902 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.00178/0.07843, allocations: 1.557 MB / 406.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.07847, allocations: 8.031 kB / 406.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006703/0.07914, allocations: 347.1 kB / 406.4 MB, free: 4.957 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/0.07995, allocations: 0.5253 MB / 407 MB, free: 4.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.852e-05/0.08005, allocations: 118 kB / 407.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.913e-05/0.08015, allocations: 96.33 kB / 407.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/0.08111, allocations: 0.8544 MB / 408 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.08112, allocations: 4.188 kB / 408 MB, free: 3.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.08118, allocations: 40.12 kB / 408.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.0812, allocations: 20 kB / 408.1 MB, free: 3.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009972/0.08219, allocations: 0.843 MB / 408.9 MB, free: 2.395 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.1499/0.2321, allocations: 2.715 MB / 411.6 MB, free: 47.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.2337, allocations: 1.309 MB / 412.9 MB, free: 46.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.2341, allocations: 275.1 kB / 413.2 MB, free: 46.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.2369, allocations: 2.072 MB / 415.3 MB, free: 46.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.2369, allocations: 44.73 kB / 415.3 MB, free: 46.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.725e-06/0.2369, allocations: 3.562 kB / 415.3 MB, free: 46.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.002052/0.239, allocations: 1.326 MB / 416.7 MB, free: 46.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.239, allocations: 58.53 kB / 416.7 MB, free: 46.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.2395, allocations: 0.5347 MB / 417.3 MB, free: 46.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.2395, allocations: 35.89 kB / 417.3 MB, free: 46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002317/0.2397, allocations: 0.5197 MB / 417.8 MB, free: 45.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.2399, allocations: 232.9 kB / 418 MB, free: 45.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.24, allocations: 180 kB / 418.2 MB, free: 45.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2402, allocations: 0.5502 MB / 418.8 MB, free: 45.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.2404, allocations: 127.4 kB / 418.9 MB, free: 45.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.2407, allocations: 0.5912 MB / 419.5 MB, free: 44.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.2414, allocations: 0.7979 MB / 420.3 MB, free: 43.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2414, allocations: 6.781 kB / 420.3 MB, free: 43.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0009485/0.2424, allocations: 0.7365 MB / 421 MB, free: 43.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.2424, allocations: 10.69 kB / 421 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.2424, allocations: 11.69 kB / 421 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.367e-05/0.2424, allocations: 15.78 kB / 421.1 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.243, allocations: 263.5 kB / 421.3 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/0.2431, allocations: 24.69 kB / 421.3 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2433, allocations: 30.09 kB / 421.4 MB, free: 43.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.2433, allocations: 51.34 kB / 421.4 MB, free: 43.81 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.0001477/0.2435, allocations: 224.5 kB / 421.6 MB, free: 43.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.2436, allocations: 89.8 kB / 421.7 MB, free: 43.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.2444, allocations: 0.569 MB / 422.3 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2444, allocations: 7.688 kB / 422.3 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2444, allocations: 0 / 422.3 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2444, allocations: 2.906 kB / 422.3 MB, free: 43.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005706/0.2449, allocations: 0.5635 MB / 422.9 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2449, allocations: 0.6094 kB / 422.9 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.2454, allocations: 180.5 kB / 423 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2454, allocations: 2.188 kB / 423 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.2454, allocations: 19.38 kB / 423.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.2454, allocations: 6.281 kB / 423.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2454, allocations: 0 / 423.1 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007543/0.2462, allocations: 0.7902 MB / 423.9 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2463, allocations: 114.2 kB / 424 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.2463, allocations: 15.45 kB / 424 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.2465, allocations: 17 kB / 424 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.2466, allocations: 48.97 kB / 424 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.2466, allocations: 26.16 kB / 424.1 MB, free: 42.99 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002169/0.2468, allocations: 323 kB / 424.4 MB, free: 42.86 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2468, allocations: 2.656 kB / 424.4 MB, free: 42.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001001/0.2478, allocations: 484 kB / 424.9 MB, free: 42.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.0006914/0.2485, allocations: 0.6176 MB / 425.5 MB, free: 42.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004921/0.249, allocations: 487.7 kB / 426 MB, free: 42.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.249, allocations: 0 / 426 MB, free: 42.67 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2492, allocations: 227.2 kB / 426.2 MB, free: 42.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.2497, allocations: 167.8 kB / 426.3 MB, free: 42.65 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.001872/0.2515, allocations: 1.397 MB / 427.7 MB, free: 41.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.894e-05/0.2516, allocations: 159.9 kB / 427.9 MB, free: 41.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002907/0.2519, allocations: 172.8 kB / 428.1 MB, free: 41.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.252, allocations: 101.8 kB / 428.2 MB, free: 41.79 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.252, allocations: 0 / 428.2 MB, free: 41.79 MB / 330.7 MB Notification: Performance of Templates: time 0.01471/0.2668, allocations: 16.15 MB / 444.3 MB, free: 30.9 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.56342237489298]