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.0009259/0.0009259, 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.0009047/0.0009047, 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 0.9605/0.9605, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.0959/0.0959, allocations: 17.39 MB / 277.6 MB, free: 11.5 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.393e-06/1.393e-06, allocations: 0 / 353.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288e-05/1.428e-05, allocations: 2.312 kB / 353.9 MB, free: 9.715 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.02586/0.02587, allocations: 28.02 MB / 381.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007063/0.03293, allocations: 7.842 MB / 389.7 MB, free: 5.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.03324, allocations: 15.88 kB / 389.8 MB, free: 5.938 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.03365, allocations: 174.5 kB / 389.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009369/0.03459, allocations: 0.7289 MB / 390.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.03612, allocations: 1.079 MB / 391.7 MB, free: 3.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007406/0.03686, allocations: 0.9623 MB / 392.7 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004165/0.03728, allocations: 446.7 kB / 393.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004661/0.03774, allocations: 0.6355 MB / 393.8 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.03817, allocations: 423.1 kB / 394.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.552e-05/0.03825, allocations: 80 kB / 394.3 MB, free: 1.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.03953, allocations: 0.8264 MB / 395.1 MB, free: 0.582 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.03967, allocations: 195.4 kB / 395.3 MB, free: 400 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.03985, allocations: 307.3 kB / 395.6 MB, free: 92 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.04153, allocations: 1.63 MB / 397.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.04153, allocations: 0 / 397.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.04153, allocations: 0 / 397.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.04154, allocations: 0 / 397.2 MB, free: 14.45 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.001119/0.04266, allocations: 1.219 MB / 398.4 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.0427, allocations: 8.031 kB / 398.4 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.04313, allocations: 255.5 kB / 398.7 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004143/0.04355, allocations: 431.8 kB / 399.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-05/0.04362, allocations: 106 kB / 399.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.04369, allocations: 68.33 kB / 399.3 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.04425, allocations: 0.584 MB / 399.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.04426, allocations: 192 / 399.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.0443, allocations: 36.12 kB / 399.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.04431, allocations: 16 kB / 399.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000486/0.0448, allocations: 0.494 MB / 400.4 MB, free: 11.15 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.001911/0.04671, allocations: 1.942 MB / 402.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.04746, allocations: 0.7668 MB / 403.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004288/0.04789, allocations: 157.5 kB / 403.3 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.04948, allocations: 1.571 MB / 404.8 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.04951, allocations: 45.33 kB / 404.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.273e-06/0.04951, allocations: 0 / 404.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001051/0.05056, allocations: 0.8313 MB / 405.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.05059, allocations: 59.34 kB / 405.8 MB, free: 5.633 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.05085, allocations: 446.2 kB / 406.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.05087, allocations: 29.7 kB / 406.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.05105, allocations: 430.7 kB / 406.7 MB, free: 4.719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.05113, allocations: 178.5 kB / 406.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.05124, allocations: 132.2 kB / 407 MB, free: 4.402 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.05138, allocations: 0.5351 MB / 407.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.05145, allocations: 69.94 kB / 407.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.05167, allocations: 423.3 kB / 408 MB, free: 3.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.05202, allocations: 0.5239 MB / 408.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.05202, allocations: 4 kB / 408.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004326/0.05245, allocations: 0.4969 MB / 409 MB, free: 2.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.05247, allocations: 8 kB / 409 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.05248, allocations: 8 kB / 409 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.05249, allocations: 12 kB / 409 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.05284, allocations: 208.3 kB / 409.2 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.05285, allocations: 19.88 kB / 409.3 MB, free: 1.805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.05298, allocations: 20 kB / 409.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.05301, allocations: 31.94 kB / 409.3 MB, free: 1.754 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.0001221/0.05313, allocations: 196.4 kB / 409.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.05319, allocations: 71.61 kB / 409.6 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000413/0.05361, allocations: 378.8 kB / 409.9 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.05361, allocations: 8 kB / 409.9 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.05362, allocations: 7.984 kB / 409.9 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.05362, allocations: 0 / 409.9 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006184/0.05424, allocations: 492.9 kB / 410.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.05424, allocations: 0 / 410.4 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.05451, allocations: 139.9 kB / 410.6 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.05451, allocations: 8 kB / 410.6 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.05453, allocations: 16 kB / 410.6 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.05453, allocations: 4 kB / 410.6 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.05453, allocations: 0 / 410.6 MB, free: 396 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1476/0.2022, allocations: 0.5754 MB / 411.2 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.2024, allocations: 83.33 kB / 411.3 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.2024, allocations: 7.766 kB / 411.3 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.2026, allocations: 14.31 kB / 411.3 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.2027, allocations: 43.88 kB / 411.3 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.2027, allocations: 16.44 kB / 411.3 MB, free: 51.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.2029, allocations: 264.9 kB / 411.6 MB, free: 51.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2029, allocations: 3.562 kB / 411.6 MB, free: 51.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009915/0.2039, allocations: 336 kB / 411.9 MB, free: 51.23 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.0006798/0.2046, allocations: 476.6 kB / 412.4 MB, free: 51.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004622/0.205, allocations: 315 kB / 412.7 MB, free: 51.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.205, allocations: 0 / 412.7 MB, free: 51.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.2052, allocations: 150.8 kB / 412.8 MB, free: 51.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.2058, allocations: 132.6 kB / 413 MB, free: 51.11 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.001915/0.2077, allocations: 1.123 MB / 414.1 MB, free: 50.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.2078, allocations: 137.3 kB / 414.2 MB, free: 50.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.2081, allocations: 113.5 kB / 414.3 MB, free: 50.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.2084, allocations: 227.6 kB / 414.6 MB, free: 50.42 MB / 330.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2084, allocations: 0 / 414.6 MB, free: 50.42 MB / 330.7 MB Notification: Performance of Templates: time 0.01554/0.2239, allocations: 11.7 MB / 426.3 MB, free: 47.67 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.1129462788812816]