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.0009098/0.0009098, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.0009249/0.0009249, allocations: 173 kB / 24.06 MB, free: 448 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.1012/0.1012, allocations: 17.37 MB / 278.4 MB, free: 11.51 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.763e-06/1.763e-06, allocations: 0 / 354.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.6e-05, allocations: 2.312 kB / 354.7 MB, free: 9.707 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.03098/0.03101, allocations: 28 MB / 382.7 MB, free: 13.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007764/0.03877, allocations: 7.842 MB / 390.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.03932, allocations: 15.88 kB / 390.5 MB, free: 5.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.03985, allocations: 182.5 kB / 390.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.04133, allocations: 0.7211 MB / 391.4 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.04348, allocations: 1.076 MB / 392.5 MB, free: 3.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009196/0.0444, allocations: 0.9662 MB / 393.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.04481, allocations: 442.6 kB / 393.9 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.04529, allocations: 0.6356 MB / 394.5 MB, free: 1.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.04573, allocations: 415 kB / 394.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.04582, allocations: 84 kB / 395 MB, free: 1.438 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.04722, allocations: 0.8343 MB / 395.8 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.04737, allocations: 199.3 kB / 396 MB, free: 416 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.04758, allocations: 295.4 kB / 396.3 MB, free: 120 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.04925, allocations: 1.63 MB / 398 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.04925, allocations: 0 / 398 MB, free: 14.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.04925, allocations: 0 / 398 MB, free: 14.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.04926, allocations: 3.984 kB / 398 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.001172/0.05043, allocations: 1.219 MB / 399.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.05048, allocations: 8.031 kB / 399.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.05092, allocations: 259.5 kB / 399.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.05137, allocations: 419.9 kB / 399.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.889e-05/0.05146, allocations: 106 kB / 400 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.05154, allocations: 76.31 kB / 400 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.05218, allocations: 0.5839 MB / 400.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.0522, allocations: 4.125 kB / 400.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.479e-05/0.05224, allocations: 36.12 kB / 400.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.05225, allocations: 16 kB / 400.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000515/0.05277, allocations: 0.494 MB / 401.2 MB, free: 11.17 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.002019/0.05479, allocations: 1.942 MB / 403.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/0.0556, allocations: 0.7667 MB / 403.9 MB, free: 8.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.05576, allocations: 161.5 kB / 404 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/0.05747, allocations: 1.539 MB / 405.6 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.05749, allocations: 37.39 kB / 405.6 MB, free: 6.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.675e-06/0.05749, allocations: 3.984 kB / 405.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.00124/0.05873, allocations: 0.843 MB / 406.5 MB, free: 5.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.05876, allocations: 59.41 kB / 406.5 MB, free: 5.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.05902, allocations: 434.2 kB / 406.9 MB, free: 5.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.05904, allocations: 37.7 kB / 407 MB, free: 5.176 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.05923, allocations: 426.7 kB / 407.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.232e-05/0.05932, allocations: 170.5 kB / 407.6 MB, free: 4.586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003307/0.05965, allocations: 136.2 kB / 407.7 MB, free: 4.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.0598, allocations: 0.5468 MB / 408.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.368e-05/0.05988, allocations: 65.94 kB / 408.3 MB, free: 3.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.06011, allocations: 415.3 kB / 408.7 MB, free: 3.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.0605, allocations: 0.5356 MB / 409.2 MB, free: 2.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.0605, allocations: 3.938 kB / 409.2 MB, free: 2.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004617/0.06096, allocations: 0.4888 MB / 409.7 MB, free: 2.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.06098, allocations: 10.84 kB / 409.7 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.06099, allocations: 8 kB / 409.7 MB, free: 2.074 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.061, allocations: 16 kB / 409.8 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.06138, allocations: 203.7 kB / 410 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.0614, allocations: 15.94 kB / 410 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.06154, allocations: 16 kB / 410 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.06157, allocations: 39.92 kB / 410 MB, free: 1.789 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.0001331/0.06171, allocations: 204.3 kB / 410.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.06177, allocations: 63.67 kB / 410.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.0622, allocations: 386.8 kB / 410.7 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.06221, allocations: 7.938 kB / 410.7 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.06221, allocations: 0 / 410.7 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.06222, allocations: 3.984 kB / 410.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004416/0.06266, allocations: 488.9 kB / 411.2 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.06266, allocations: 0 / 411.2 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.06296, allocations: 148 kB / 411.3 MB, free: 452 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.06296, allocations: 4 kB / 411.3 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.06298, allocations: 12 kB / 411.3 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.06298, allocations: 11.92 kB / 411.3 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.06299, allocations: 4 kB / 411.3 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1433/0.2063, allocations: 0.5713 MB / 411.9 MB, free: 51.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.2065, allocations: 80.73 kB / 412 MB, free: 51.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.2066, allocations: 17.58 kB / 412 MB, free: 51.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.2068, allocations: 8.266 kB / 412 MB, free: 51.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.2069, allocations: 44.89 kB / 412.1 MB, free: 51.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.2069, allocations: 19.69 kB / 412.1 MB, free: 51.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.2071, allocations: 257.8 kB / 412.3 MB, free: 51.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2071, allocations: 0 / 412.3 MB, free: 51.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000951/0.208, allocations: 334.7 kB / 412.7 MB, free: 51.24 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.0006575/0.2087, allocations: 481.2 kB / 413.1 MB, free: 51.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.2092, allocations: 316.2 kB / 413.4 MB, free: 51.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2092, allocations: 0 / 413.4 MB, free: 51.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.2093, allocations: 154.1 kB / 413.6 MB, free: 51.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005661/0.2099, allocations: 133.5 kB / 413.7 MB, free: 51.12 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.001841/0.2118, allocations: 1.124 MB / 414.8 MB, free: 50.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2119, allocations: 134.2 kB / 415 MB, free: 50.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.2122, allocations: 115.8 kB / 415.1 MB, free: 50.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.2125, allocations: 223.6 kB / 415.3 MB, free: 50.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2125, allocations: 0 / 415.3 MB, free: 50.43 MB / 330.7 MB Notification: Performance of Templates: time 0.01595/0.2284, allocations: 11.82 MB / 427.1 MB, free: 47.62 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.3893420663662255]