Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.SimpleReaction.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.00152/0.00152, allocations: 92.22 kB / 19.65 MB, free: 276 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.002034/0.002034, allocations: 173 kB / 23.02 MB, free: 1.547 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.053/1.053, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.09419/0.09419, allocations: 17.38 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 353.4 MB, free: 9.973 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.463e-05, allocations: 4.562 kB / 353.4 MB, free: 9.969 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.SimpleReaction): time 0.03516/0.03518, allocations: 28.03 MB / 381.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.04371, allocations: 8.061 MB / 389.5 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004351/0.04415, allocations: 11.88 kB / 389.5 MB, free: 5.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005175/0.04466, allocations: 182.5 kB / 389.7 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.04627, allocations: 0.7211 MB / 390.4 MB, free: 5.059 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.04888, allocations: 1.083 MB / 391.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001224/0.05011, allocations: 0.9584 MB / 392.5 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.05074, allocations: 442.7 kB / 392.9 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.05142, allocations: 0.6395 MB / 393.5 MB, free: 1.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005399/0.05196, allocations: 415 kB / 393.9 MB, free: 1.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.143e-05/0.05205, allocations: 80 kB / 394 MB, free: 1.445 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.05374, allocations: 0.8304 MB / 394.9 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.05389, allocations: 199.4 kB / 395 MB, free: 428 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.05413, allocations: 303.3 kB / 395.3 MB, free: 124 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001852/0.05598, allocations: 1.634 MB / 397 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.05598, allocations: 0 / 397 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.05598, allocations: 0 / 397 MB, free: 14.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.05599, allocations: 0 / 397 MB, free: 14.48 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001341/0.05733, allocations: 1.212 MB / 398.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.05737, allocations: 8.031 kB / 398.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/0.05787, allocations: 255.5 kB / 398.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005257/0.05839, allocations: 427.8 kB / 398.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.482e-05/0.05849, allocations: 110 kB / 399 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.05856, allocations: 68.33 kB / 399 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007467/0.05931, allocations: 0.6387 MB / 399.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.05933, allocations: 192 / 399.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.05938, allocations: 32.12 kB / 399.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.05939, allocations: 20 kB / 399.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.06011, allocations: 0.5775 MB / 400.3 MB, free: 11.05 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.002331/0.06244, allocations: 2.016 MB / 402.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/0.06335, allocations: 0.802 MB / 403.1 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.06357, allocations: 193.5 kB / 403.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/0.06531, allocations: 1.547 MB / 404.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.06534, allocations: 45.33 kB / 404.9 MB, free: 6.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.584e-06/0.06534, allocations: 3.984 kB / 404.9 MB, free: 6.328 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001358/0.0667, allocations: 0.9752 MB / 405.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.06674, allocations: 63.34 kB / 405.9 MB, free: 5.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.06703, allocations: 446.4 kB / 406.4 MB, free: 4.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.06705, allocations: 29.7 kB / 406.4 MB, free: 4.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.06727, allocations: 434.8 kB / 406.8 MB, free: 4.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.06737, allocations: 166.6 kB / 407 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.06749, allocations: 136.2 kB / 407.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.06766, allocations: 0.5274 MB / 407.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.06779, allocations: 93.94 kB / 407.8 MB, free: 3.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.06809, allocations: 431.4 kB / 408.2 MB, free: 2.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.06857, allocations: 0.567 MB / 408.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.06857, allocations: 0 / 408.7 MB, free: 2.109 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006/0.06917, allocations: 0.5397 MB / 409.3 MB, free: 1.559 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.06919, allocations: 8 kB / 409.3 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.06921, allocations: 8 kB / 409.3 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.06923, allocations: 12.81 kB / 409.3 MB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.06963, allocations: 203.7 kB / 409.5 MB, free: 1.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.06964, allocations: 15.94 kB / 409.5 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.06978, allocations: 23.94 kB / 409.5 MB, free: 1.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.06982, allocations: 39.98 kB / 409.6 MB, free: 1.254 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (83): * Single equations (assignments): 83 * 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.0001411/0.06996, allocations: 196.3 kB / 409.8 MB, free: 1.051 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.07003, allocations: 63.67 kB / 409.8 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000536/0.07057, allocations: 422.7 kB / 410.3 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.07057, allocations: 8 kB / 410.3 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.07058, allocations: 0 / 410.3 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.07059, allocations: 7.875 kB / 410.3 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.07104, allocations: 473.3 kB / 410.7 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.07104, allocations: 0 / 410.7 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1532/0.2243, allocations: 142.8 kB / 410.9 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.2243, allocations: 6.125 kB / 410.9 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.916e-05/0.2243, allocations: 13.7 kB / 410.9 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2243, allocations: 2.531 kB / 410.9 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2243, allocations: 1.562 kB / 410.9 MB, free: 51.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.2251, allocations: 0.6336 MB / 411.5 MB, free: 51.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2252, allocations: 78.86 kB / 411.6 MB, free: 51.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.2253, allocations: 11.83 kB / 411.6 MB, free: 51.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.2254, allocations: 14.38 kB / 411.6 MB, free: 51.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.2255, allocations: 42.3 kB / 411.7 MB, free: 51.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.2255, allocations: 20.58 kB / 411.7 MB, free: 51.1 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002149/0.2257, allocations: 274.3 kB / 412 MB, free: 50.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2257, allocations: 0 / 412 MB, free: 50.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007804/0.2265, allocations: 330.7 kB / 412.3 MB, free: 50.97 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (solution.temperature,A.logn,B.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 (53): * Single equations (assignments): 53 * 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.0006253/0.2271, allocations: 459.4 kB / 412.7 MB, free: 50.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004851/0.2276, allocations: 351.3 kB / 413.1 MB, free: 50.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2276, allocations: 0 / 413.1 MB, free: 50.86 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.2278, allocations: 170.6 kB / 413.2 MB, free: 50.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.2283, allocations: 132.7 kB / 413.4 MB, free: 50.85 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.00184/0.2301, allocations: 1.132 MB / 414.5 MB, free: 50.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2302, allocations: 132.6 kB / 414.6 MB, free: 50.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000268/0.2305, allocations: 116.5 kB / 414.7 MB, free: 50.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2306, allocations: 76.02 kB / 414.8 MB, free: 50.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2306, allocations: 0 / 414.8 MB, free: 50.21 MB / 330.7 MB Notification: Performance of Templates: time 0.01453/0.2452, allocations: 11.46 MB / 426.3 MB, free: 47.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4639770821668208]