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.001816/0.001816, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002335/0.002335, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.603/1.603, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.1535/0.1535, allocations: 17.45 MB / 277 MB, free: 11.59 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.823e-06/1.823e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.185e-05, allocations: 2.312 kB / 352.8 MB, free: 10.19 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.SimpleReaction2): time 0.0432/0.04323, allocations: 26.5 MB / 379.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01865/0.06189, allocations: 11.68 MB / 391 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.06276, allocations: 15.88 kB / 391 MB, free: 4.098 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.06385, allocations: 238 kB / 391.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.06745, allocations: 1.035 MB / 392.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.07256, allocations: 1.58 MB / 393.9 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.07535, allocations: 1.294 MB / 395.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.07647, allocations: 0.5811 MB / 395.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.07778, allocations: 0.854 MB / 396.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.07889, allocations: 0.5651 MB / 397.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002446/0.07913, allocations: 112 kB / 397.3 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.08323, allocations: 1.232 MB / 398.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003684/0.0836, allocations: 263.1 kB / 398.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007033/0.0843, allocations: 407.2 kB / 399.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006584/0.09089, allocations: 2.748 MB / 401.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.09089, allocations: 0 / 401.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.09089, allocations: 0 / 401.9 MB, free: 9.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.09092, allocations: 0 / 401.9 MB, free: 9.148 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.003796/0.09471, allocations: 1.608 MB / 403.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.09477, allocations: 12.03 kB / 403.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.096, allocations: 355 kB / 403.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.09712, allocations: 0.5253 MB / 404.4 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.09727, allocations: 118 kB / 404.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001815/0.09745, allocations: 92.33 kB / 404.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.09946, allocations: 1.076 MB / 405.7 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.09949, allocations: 192 / 405.7 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.09959, allocations: 40.12 kB / 405.7 MB, free: 5.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.09962, allocations: 20 kB / 405.7 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.1022, allocations: 1.226 MB / 407 MB, free: 3.984 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.006998/0.1092, allocations: 3.202 MB / 410.2 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1772/0.2864, allocations: 1.2 MB / 411.4 MB, free: 62.23 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008627/0.2872, allocations: 376.9 kB / 411.7 MB, free: 62.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005069/0.2923, allocations: 2.265 MB / 414 MB, free: 61.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.2923, allocations: 45.77 kB / 414 MB, free: 61.67 MB / 330.7 MB Notification: Performance of pre-optimization done (n=56): time 2.465e-06/0.2923, allocations: 0 / 414 MB, free: 61.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=63): time 0.00319/0.2955, allocations: 1.595 MB / 415.6 MB, free: 61.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.2955, allocations: 61.91 kB / 415.7 MB, free: 60.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.2962, allocations: 0.642 MB / 416.3 MB, free: 60.6 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.2962, allocations: 36.11 kB / 416.4 MB, free: 60.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.2965, allocations: 0.5376 MB / 416.9 MB, free: 60.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2967, allocations: 241.7 kB / 417.1 MB, free: 60.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002442/0.2969, allocations: 200.2 kB / 417.3 MB, free: 59.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2971, allocations: 0.5847 MB / 417.9 MB, free: 59.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.2974, allocations: 194.9 kB / 418.1 MB, free: 59.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/0.2983, allocations: 0.6773 MB / 418.8 MB, free: 58.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.2997, allocations: 0.9595 MB / 419.7 MB, free: 57.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.2997, allocations: 3.562 kB / 419.7 MB, free: 57.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001899/0.3016, allocations: 0.8759 MB / 420.6 MB, free: 57.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.3016, allocations: 9.656 kB / 420.6 MB, free: 57.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.3016, allocations: 11.61 kB / 420.6 MB, free: 57.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.126e-05/0.3017, allocations: 24.61 kB / 420.7 MB, free: 57.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3028, allocations: 261.2 kB / 420.9 MB, free: 57.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.997e-05/0.3028, allocations: 27.36 kB / 420.9 MB, free: 57.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.3034, allocations: 26.41 kB / 421 MB, free: 57.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3035, allocations: 51.09 kB / 421 MB, free: 57.42 MB / 330.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.0004155/0.3039, allocations: 281 kB / 421.3 MB, free: 57.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.3041, allocations: 85.73 kB / 421.4 MB, free: 57.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3056, allocations: 0.6704 MB / 422.1 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.3056, allocations: 7.125 kB / 422.1 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3056, allocations: 3.938 kB / 422.1 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.3056, allocations: 4.625 kB / 422.1 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3067, allocations: 0.705 MB / 422.8 MB, free: 56.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3067, allocations: 0.7031 kB / 422.8 MB, free: 56.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007556/0.3075, allocations: 174.6 kB / 422.9 MB, free: 56.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3075, allocations: 6.281 kB / 423 MB, free: 56.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.3075, allocations: 19.44 kB / 423 MB, free: 56.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.3075, allocations: 4.906 kB / 423 MB, free: 56.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3075, allocations: 1.344 kB / 423 MB, free: 56.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3089, allocations: 1.006 MB / 424 MB, free: 55.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.3091, allocations: 113.3 kB / 424.1 MB, free: 55.87 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.3092, allocations: 16.33 kB / 424.1 MB, free: 55.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.3095, allocations: 16.62 kB / 424.1 MB, free: 55.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.3096, allocations: 51.53 kB / 424.2 MB, free: 55.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.3097, allocations: 29.72 kB / 424.2 MB, free: 55.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003291/0.31, allocations: 380.5 kB / 424.6 MB, free: 55.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.31, allocations: 0 / 424.6 MB, free: 55.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001367/0.3114, allocations: 486.5 kB / 425.1 MB, free: 55.57 MB / 330.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.0009894/0.3123, allocations: 0.6168 MB / 425.7 MB, free: 55.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009954/0.3133, allocations: 0.6125 MB / 426.3 MB, free: 55.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3133, allocations: 0 / 426.3 MB, free: 55.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003831/0.3137, allocations: 288.5 kB / 426.6 MB, free: 55.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.3145, allocations: 174.1 kB / 426.7 MB, free: 55.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3166, allocations: 1.467 MB / 428.2 MB, free: 53.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.3168, allocations: 364.3 kB / 428.6 MB, free: 53.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.3173, allocations: 168.9 kB / 428.7 MB, free: 53.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3175, allocations: 99.22 kB / 428.8 MB, free: 53.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3175, allocations: 0 / 428.8 MB, free: 53.45 MB / 330.7 MB Notification: Performance of Templates: time 0.02067/0.3382, allocations: 14.3 MB / 443.1 MB, free: 40.75 MB / 330.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: 5.436641578911804]