Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001608/0.001608, allocations: 77.39 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001579/0.001579, allocations: 170.8 kB / 22.46 MB, free: 5.355 MB / 14.72 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.1547/0.1547, allocations: 17.46 MB / 276.6 MB, free: 15.21 MB / 270.1 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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 412.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.495e-05, allocations: 2.281 kB / 412.1 MB, free: 4.281 MB / 334.1 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.SimpleReaction2): time 0.04151/0.04155, allocations: 25.81 MB / 437.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01576/0.05731, allocations: 10.26 MB / 448.2 MB, free: 320 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000799/0.05811, allocations: 23.75 kB / 448.2 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008323/0.05894, allocations: 242 kB / 448.4 MB, free: 52 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2033/0.2622, allocations: 1.024 MB / 449.4 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004148/0.2664, allocations: 1.578 MB / 451 MB, free: 31.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001913/0.2683, allocations: 1.298 MB / 452.3 MB, free: 30.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008092/0.2691, allocations: 0.5615 MB / 452.9 MB, free: 30.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.2702, allocations: 0.8446 MB / 453.7 MB, free: 30.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008573/0.2711, allocations: 0.5569 MB / 454.3 MB, free: 30.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001849/0.2713, allocations: 106.2 kB / 454.4 MB, free: 30.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.2747, allocations: 1.229 MB / 455.6 MB, free: 30.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.2749, allocations: 267 kB / 455.9 MB, free: 30.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.2755, allocations: 406.5 kB / 456.3 MB, free: 30.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005254/0.2807, allocations: 2.741 MB / 459 MB, free: 29.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.2807, allocations: 0 / 459 MB, free: 29.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2807, allocations: 2.656 kB / 459 MB, free: 29.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.782e-05/0.2807, allocations: 0 / 459 MB, free: 29.57 MB / 366.1 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.00291/0.2837, allocations: 1.436 MB / 460.5 MB, free: 28.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2837, allocations: 8.656 kB / 460.5 MB, free: 28.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009918/0.2847, allocations: 217.4 kB / 460.7 MB, free: 28.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.2856, allocations: 0.5207 MB / 461.2 MB, free: 28.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.2857, allocations: 123.7 kB / 461.3 MB, free: 28.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.2859, allocations: 87.75 kB / 461.4 MB, free: 28.19 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.2876, allocations: 1.047 MB / 462.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.2876, allocations: 2.312 kB / 462.5 MB, free: 27.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.2877, allocations: 36.12 kB / 462.5 MB, free: 27.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.2878, allocations: 24.72 kB / 462.5 MB, free: 27.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.2897, allocations: 1.262 MB / 463.8 MB, free: 27.38 MB / 366.1 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.004603/0.2943, allocations: 2.691 MB / 466.5 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.2963, allocations: 1.242 MB / 467.7 MB, free: 25.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005117/0.2968, allocations: 398.4 kB / 468.1 MB, free: 25.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004286/0.3011, allocations: 2.078 MB / 470.2 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.3011, allocations: 37.81 kB / 470.2 MB, free: 24.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.885e-06/0.3011, allocations: 2.906 kB / 470.2 MB, free: 24.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.003008/0.3041, allocations: 1.596 MB / 471.8 MB, free: 23.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.3041, allocations: 58.47 kB / 471.9 MB, free: 23.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/0.3046, allocations: 0.4945 MB / 472.4 MB, free: 23.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.3046, allocations: 39.52 kB / 472.4 MB, free: 23.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.3048, allocations: 480.4 kB / 472.9 MB, free: 22.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3049, allocations: 232.4 kB / 473.1 MB, free: 22.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.3051, allocations: 170.5 kB / 473.3 MB, free: 22.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.3052, allocations: 379.3 kB / 473.6 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.3055, allocations: 213.7 kB / 473.8 MB, free: 22.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004687/0.306, allocations: 0.5264 MB / 474.4 MB, free: 21.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008948/0.3069, allocations: 0.8176 MB / 475.2 MB, free: 20.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3069, allocations: 10.41 kB / 475.2 MB, free: 20.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001255/0.3082, allocations: 0.854 MB / 476.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3082, allocations: 11.75 kB / 476.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3082, allocations: 10.94 kB / 476.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.3082, allocations: 16.06 kB / 476.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009814/0.3092, allocations: 269.8 kB / 476.4 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.3092, allocations: 21 kB / 476.4 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.3098, allocations: 31.02 kB / 476.4 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/0.3098, allocations: 52.31 kB / 476.5 MB, free: 20.44 MB / 366.1 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.0003175/0.3101, allocations: 238.1 kB / 476.7 MB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3103, allocations: 64.48 kB / 476.7 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3115, allocations: 0.6867 MB / 477.4 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.3115, allocations: 8 kB / 477.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3116, allocations: 0 / 477.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.3116, allocations: 3.984 kB / 477.4 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008019/0.3124, allocations: 0.5838 MB / 478 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3124, allocations: 0 / 478 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007295/0.3131, allocations: 170.8 kB / 478.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.3131, allocations: 6.688 kB / 478.2 MB, free: 18.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.36e-05/0.3131, allocations: 27.98 kB / 478.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.3132, allocations: 6.688 kB / 478.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3132, allocations: 3.094 kB / 478.2 MB, free: 18.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.3143, allocations: 0.9412 MB / 479.2 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.3146, allocations: 111.6 kB / 479.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.3147, allocations: 18.64 kB / 479.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002873/0.315, allocations: 16 kB / 479.3 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.3151, allocations: 55.56 kB / 479.4 MB, free: 17.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.3151, allocations: 23.94 kB / 479.4 MB, free: 17.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002673/0.3154, allocations: 318.9 kB / 479.7 MB, free: 17.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3154, allocations: 4 kB / 479.7 MB, free: 17.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001505/0.3169, allocations: 490.6 kB / 480.2 MB, free: 16.93 MB / 366.1 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.001025/0.3179, allocations: 0.6177 MB / 480.8 MB, free: 16.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000867/0.3188, allocations: 0.5783 MB / 481.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3188, allocations: 0 / 481.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003377/0.3191, allocations: 262.5 kB / 481.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000831/0.3199, allocations: 166 kB / 481.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3221, allocations: 1.421 MB / 483.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.3223, allocations: 368.1 kB / 483.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005009/0.3229, allocations: 163.2 kB / 483.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.3231, allocations: 103.1 kB / 483.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3231, allocations: 0 / 483.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.02015/0.3432, allocations: 14.19 MB / 498 MB, free: 344 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.282949533313513] Failed to read output from testmodel.py, exit status != 0: 0.352578729391098 0.367256142 0.08331577100000001 Calling exit ...