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.001215/0.001215, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001679/0.001679, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.9664/0.9664, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.1015/0.1015, allocations: 17.46 MB / 277.7 MB, free: 11.45 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.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.673e-06/1.673e-06, allocations: 0 / 300.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.275e-05, allocations: 3.297 kB / 300.7 MB, free: 1.746 MB / 266.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.SimpleReaction2): time 0.04226/0.04228, allocations: 34.62 MB / 335.3 MB, free: 1.809 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009667/0.05195, allocations: 11.6 MB / 346.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.05239, allocations: 15.88 kB / 347 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005044/0.05289, allocations: 238 kB / 347.2 MB, free: 5.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.05463, allocations: 1.051 MB / 348.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.05734, allocations: 1.596 MB / 349.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.05843, allocations: 1.286 MB / 351.1 MB, free: 1.949 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005259/0.05895, allocations: 0.5967 MB / 351.7 MB, free: 1.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.05961, allocations: 0.8579 MB / 352.6 MB, free: 476 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.06021, allocations: 0.5535 MB / 353.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.06033, allocations: 108 kB / 353.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.06212, allocations: 1.228 MB / 354.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.0623, allocations: 267.2 kB / 354.7 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.0626, allocations: 411.1 kB / 355.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.06506, allocations: 2.354 MB / 357.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.06506, allocations: 0 / 357.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.06506, allocations: 0 / 357.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.06507, allocations: 0 / 357.5 MB, free: 11.55 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001445/0.06652, allocations: 1.421 MB / 358.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.06655, allocations: 12.03 kB / 358.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005936/0.06714, allocations: 331.5 kB / 359.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005536/0.06769, allocations: 435.1 kB / 359.7 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-05/0.06778, allocations: 126 kB / 359.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.06788, allocations: 88.38 kB / 359.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007798/0.06866, allocations: 0.7795 MB / 360.7 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.06868, allocations: 4.125 kB / 360.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.06873, allocations: 40.12 kB / 360.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.06875, allocations: 24 kB / 360.7 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.0694, allocations: 0.6332 MB / 361.4 MB, free: 7.582 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.002441/0.07184, allocations: 2.124 MB / 363.5 MB, free: 5.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.07305, allocations: 1.232 MB / 364.7 MB, free: 4.156 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.07324, allocations: 199.8 kB / 364.9 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002307/0.07555, allocations: 1.908 MB / 366.8 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.07557, allocations: 43 kB / 366.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 1.382e-06/0.07557, allocations: 0 / 366.9 MB, free: 1.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.001397/0.07697, allocations: 1.109 MB / 368 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.077, allocations: 64.05 kB / 368 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.07725, allocations: 470.8 kB / 368.5 MB, free: 300 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.07728, allocations: 37.7 kB / 368.5 MB, free: 256 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.07745, allocations: 432.6 kB / 368.9 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.07756, allocations: 234 kB / 369.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.0777, allocations: 178.4 kB / 369.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.07779, allocations: 382.6 kB / 369.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.07789, allocations: 92.78 kB / 369.8 MB, free: 14.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.07813, allocations: 430.5 kB / 370.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.07855, allocations: 0.6216 MB / 370.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.07856, allocations: 0 / 370.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.0004647/0.07902, allocations: 0.5316 MB / 371.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.07904, allocations: 8 kB / 371.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.07905, allocations: 12.09 kB / 371.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.07906, allocations: 23.98 kB / 371.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.07952, allocations: 255.6 kB / 371.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.07953, allocations: 19.94 kB / 371.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.07971, allocations: 32 kB / 371.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.07975, allocations: 47.92 kB / 371.8 MB, free: 12.66 MB / 346.7 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.0001367/0.07989, allocations: 168.4 kB / 371.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.07995, allocations: 59.94 kB / 372 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.08042, allocations: 447.7 kB / 372.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.08044, allocations: 4 kB / 372.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.08044, allocations: 4 kB / 372.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.08045, allocations: 11.92 kB / 372.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005693/0.08102, allocations: 0.5162 MB / 373 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.08102, allocations: 4 kB / 373 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.08136, allocations: 167.8 kB / 373.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.08137, allocations: 8.109 kB / 373.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.434e-05/0.08139, allocations: 20 kB / 373.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.0814, allocations: 7.938 kB / 373.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.0814, allocations: 4 kB / 373.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.08186, allocations: 0.5889 MB / 373.8 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.08197, allocations: 91.56 kB / 373.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.08201, allocations: 12 kB / 373.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.08213, allocations: 12 kB / 373.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.08219, allocations: 56.5 kB / 373.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.08221, allocations: 27.98 kB / 374 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.08233, allocations: 180.4 kB / 374.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08233, allocations: 0 / 374.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007075/0.08304, allocations: 494.5 kB / 374.6 MB, free: 9.723 MB / 346.7 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.0006587/0.08369, allocations: 0.6312 MB / 375.3 MB, free: 9.078 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003477/0.08404, allocations: 399.3 kB / 375.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.08405, allocations: 12.56 kB / 375.7 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.0842, allocations: 189.8 kB / 375.8 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.08461, allocations: 172.8 kB / 376 MB, free: 8.328 MB / 346.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.08627, allocations: 1.385 MB / 377.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.715e-05/0.08637, allocations: 159.3 kB / 377.5 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.08666, allocations: 161.2 kB / 377.7 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.08695, allocations: 253.2 kB / 378 MB, free: 6.301 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.08695, allocations: 0 / 378 MB, free: 6.301 MB / 346.7 MB Notification: Performance of Templates: time 0.02061/0.1076, allocations: 16.45 MB / 394.4 MB, free: 5.969 MB / 362.7 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.SimpleReaction2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.183641724754125]