Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.0008234/0.0008234, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009928/0.0009928, allocations: 169 kB / 24.06 MB, free: 452 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 0.9903/0.9903, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.1075/0.1075, allocations: 17.46 MB / 278.5 MB, free: 11.41 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.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") translateModel(Chemical.Obsolete.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 354.8 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.771e-05, allocations: 6.25 kB / 354.8 MB, free: 9.57 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.SimpleReaction): time 0.03648/0.03651, allocations: 28.01 MB / 382.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00708/0.04359, allocations: 7.838 MB / 390.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.04412, allocations: 15.88 kB / 390.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.04463, allocations: 174.5 kB / 390.8 MB, free: 5.641 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.04614, allocations: 0.7289 MB / 391.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.04815, allocations: 1.075 MB / 392.6 MB, free: 3.824 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009323/0.04908, allocations: 0.9624 MB / 393.6 MB, free: 2.855 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.04952, allocations: 446.6 kB / 394 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.05001, allocations: 0.6395 MB / 394.6 MB, free: 1.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004748/0.05048, allocations: 419 kB / 395.1 MB, free: 1.367 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.05057, allocations: 80 kB / 395.1 MB, free: 1.289 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.05205, allocations: 0.8265 MB / 396 MB, free: 472 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.05221, allocations: 199.3 kB / 396.2 MB, free: 272 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.05243, allocations: 303.4 kB / 396.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.05424, allocations: 1.626 MB / 398.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.05424, allocations: 0 / 398.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.05424, allocations: 0 / 398.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.05425, allocations: 0 / 398.1 MB, free: 14.34 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.001164/0.05541, allocations: 1.223 MB / 399.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.05545, allocations: 8.031 kB / 399.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.05591, allocations: 255.5 kB / 399.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004604/0.05637, allocations: 431.8 kB / 400 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.05644, allocations: 110 kB / 400.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.05652, allocations: 68.33 kB / 400.2 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.05707, allocations: 0.5801 MB / 400.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.05709, allocations: 192 / 400.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.05714, allocations: 28.12 kB / 400.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.05715, allocations: 20 kB / 400.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.05766, allocations: 0.494 MB / 401.3 MB, free: 11.04 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.002039/0.0597, allocations: 1.95 MB / 403.2 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/0.0605, allocations: 0.7706 MB / 404 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.06066, allocations: 157.5 kB / 404.2 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/0.06238, allocations: 1.551 MB / 405.7 MB, free: 6.508 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.0624, allocations: 37.39 kB / 405.7 MB, free: 6.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.363e-06/0.06241, allocations: 0 / 405.7 MB, free: 6.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001093/0.0635, allocations: 0.8353 MB / 406.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.06353, allocations: 55.41 kB / 406.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.06377, allocations: 438.2 kB / 407.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.0638, allocations: 33.7 kB / 407.1 MB, free: 5.035 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.06397, allocations: 434.7 kB / 407.5 MB, free: 4.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.179e-05/0.06406, allocations: 174.5 kB / 407.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.06418, allocations: 132.2 kB / 407.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.06432, allocations: 0.539 MB / 408.4 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.0644, allocations: 73.88 kB / 408.4 MB, free: 3.672 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.06464, allocations: 419.3 kB / 408.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003683/0.06501, allocations: 0.5239 MB / 409.4 MB, free: 2.453 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.06501, allocations: 0 / 409.4 MB, free: 2.453 MB / 330.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0004706/0.06548, allocations: 0.5012 MB / 409.9 MB, free: 1.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.0655, allocations: 12.19 kB / 409.9 MB, free: 1.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.06551, allocations: 8 kB / 409.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.06552, allocations: 12 kB / 409.9 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.0659, allocations: 199.7 kB / 410.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.06591, allocations: 15.92 kB / 410.1 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.06605, allocations: 20 kB / 410.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.06609, allocations: 35.94 kB / 410.2 MB, free: 1.645 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.0001373/0.06622, allocations: 208.2 kB / 410.4 MB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.06629, allocations: 63.67 kB / 410.4 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.06672, allocations: 382.7 kB / 410.8 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.06673, allocations: 4 kB / 410.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.06673, allocations: 0 / 410.8 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.06673, allocations: 3.984 kB / 410.8 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.06717, allocations: 496.8 kB / 411.3 MB, free: 448 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.06718, allocations: 4.125 kB / 411.3 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.06746, allocations: 139.9 kB / 411.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.06747, allocations: 0 / 411.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.06749, allocations: 16 kB / 411.4 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.06749, allocations: 4 kB / 411.4 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.06749, allocations: 4 kB / 411.5 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1587/0.2262, allocations: 0.5858 MB / 412 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.2264, allocations: 81.03 kB / 412.1 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.2265, allocations: 11.53 kB / 412.1 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2266, allocations: 11.47 kB / 412.1 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.2267, allocations: 44.23 kB / 412.2 MB, free: 51.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.2267, allocations: 15.47 kB / 412.2 MB, free: 51.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.2269, allocations: 262.5 kB / 412.5 MB, free: 51.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2269, allocations: 3.188 kB / 412.5 MB, free: 51.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009173/0.2278, allocations: 334.3 kB / 412.8 MB, free: 51.05 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.0007428/0.2285, allocations: 477 kB / 413.2 MB, free: 50.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004582/0.229, allocations: 313.9 kB / 413.6 MB, free: 50.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.229, allocations: 1.406 kB / 413.6 MB, free: 50.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2292, allocations: 154.7 kB / 413.7 MB, free: 50.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/0.2297, allocations: 133.4 kB / 413.8 MB, free: 50.94 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.2316, allocations: 1.117 MB / 415 MB, free: 50.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001169/0.2317, allocations: 134.4 kB / 415.1 MB, free: 50.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.232, allocations: 117.7 kB / 415.2 MB, free: 50.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.2323, allocations: 224 kB / 415.4 MB, free: 50.24 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2323, allocations: 0 / 415.4 MB, free: 50.24 MB / 330.7 MB Notification: Performance of Templates: time 0.01697/0.2493, allocations: 11.82 MB / 427.2 MB, free: 47.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.349278314039111]