Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") translateModel(Chemical.Examples.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008223/0.0008224, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2178/0.2178, allocations: 15.27 MB / 306.4 MB, free: 15.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 8 kB / 371.5 MB, free: 3.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2615, allocations: 54.61 MB / 426.1 MB, free: 39.87 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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 1.4.1-master/package.mo:3019:6-3019:65: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.Examples.SimpleReaction): time 0.003935/0.2655, allocations: 4.142 MB / 430.2 MB, free: 39.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006946/0.2725, allocations: 7.351 MB / 437.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.2731, allocations: 17.81 kB / 437.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004907/0.2736, allocations: 174.7 kB / 437.8 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.2754, allocations: 0.6052 MB / 438.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.2777, allocations: 0.827 MB / 439.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008586/0.2785, allocations: 0.8636 MB / 440.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.279, allocations: 412.8 kB / 440.5 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/0.2793, allocations: 349.1 kB / 440.8 MB, free: 33.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.2797, allocations: 447 kB / 441.3 MB, free: 32.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.2798, allocations: 41.72 kB / 441.3 MB, free: 32.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001976/0.2818, allocations: 0.7989 MB / 442.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.282, allocations: 148.9 kB / 442.2 MB, free: 32.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2821, allocations: 159.7 kB / 442.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.2832, allocations: 1.316 MB / 443.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2832, allocations: 0 / 443.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2833, allocations: 0 / 443.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2833, allocations: 0 / 443.7 MB, free: 32.02 MB / 350.1 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.001352/0.2846, allocations: 1.019 MB / 444.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2847, allocations: 16.56 kB / 444.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.2852, allocations: 151.2 kB / 444.9 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.2857, allocations: 446.5 kB / 445.3 MB, free: 30.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/0.2858, allocations: 75.8 kB / 445.4 MB, free: 30.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/0.2858, allocations: 76.34 kB / 445.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009637/0.2868, allocations: 0.7742 MB / 446.3 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2868, allocations: 3.156 kB / 446.3 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.2869, allocations: 23.44 kB / 446.3 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.2869, allocations: 16.12 kB / 446.3 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.288, allocations: 0.8746 MB / 447.2 MB, free: 30.23 MB / 350.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.002878/0.2909, allocations: 2.565 MB / 449.7 MB, free: 28.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.2921, allocations: 1.011 MB / 450.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.2924, allocations: 302.3 kB / 451 MB, free: 27.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/0.295, allocations: 2.779 MB / 453.8 MB, free: 25.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.476e-05/0.295, allocations: 37.72 kB / 453.9 MB, free: 25.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/0.295, allocations: 0 / 453.9 MB, free: 25.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.001914/0.2969, allocations: 1.231 MB / 455.1 MB, free: 24.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.297, allocations: 62.31 kB / 455.2 MB, free: 24.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.2973, allocations: 413.4 kB / 455.6 MB, free: 24.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2973, allocations: 36.61 kB / 455.6 MB, free: 24.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.2975, allocations: 364 kB / 455.9 MB, free: 24.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.2976, allocations: 163.1 kB / 456.1 MB, free: 24.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.2976, allocations: 15.03 kB / 456.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.2977, allocations: 364.5 kB / 456.5 MB, free: 23.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.2979, allocations: 143.2 kB / 456.6 MB, free: 23.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.2982, allocations: 395 kB / 457 MB, free: 23.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.2985, allocations: 205.7 kB / 457.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.2985, allocations: 0 / 457.2 MB, free: 23.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007589/0.2993, allocations: 0.6177 MB / 457.8 MB, free: 23.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2993, allocations: 6.281 kB / 457.8 MB, free: 23.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2993, allocations: 9.188 kB / 457.8 MB, free: 23.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.2994, allocations: 20.86 kB / 457.9 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.3, allocations: 199.2 kB / 458.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.3, allocations: 19.12 kB / 458.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3003, allocations: 39.84 kB / 458.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.3004, allocations: 35.58 kB / 458.1 MB, free: 23.05 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.3006, allocations: 210.2 kB / 458.3 MB, free: 22.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.3007, allocations: 48.34 kB / 458.4 MB, free: 22.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008414/0.3015, allocations: 0.4993 MB / 458.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.3015, allocations: 5.156 kB / 458.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3015, allocations: 0.9688 kB / 458.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3015, allocations: 2.812 kB / 458.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.3022, allocations: 0.6248 MB / 459.5 MB, free: 22.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3022, allocations: 2.156 kB / 459.5 MB, free: 22.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.3028, allocations: 149.9 kB / 459.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3028, allocations: 4.188 kB / 459.7 MB, free: 22.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.3028, allocations: 15.28 kB / 459.7 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3028, allocations: 3.125 kB / 459.7 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3028, allocations: 0.7188 kB / 459.7 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.3037, allocations: 0.723 MB / 460.4 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.3039, allocations: 156.1 kB / 460.6 MB, free: 21.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.304, allocations: 17.19 kB / 460.6 MB, free: 21.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.3042, allocations: 17.52 kB / 460.6 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.774e-05/0.3043, allocations: 33.67 kB / 460.6 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3043, allocations: 21.81 kB / 460.7 MB, free: 21.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.3046, allocations: 274.5 kB / 460.9 MB, free: 21.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3046, allocations: 0 / 460.9 MB, free: 21.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009564/0.3056, allocations: 328.6 kB / 461.3 MB, free: 21.4 MB / 350.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006791/0.3063, allocations: 432.5 kB / 461.7 MB, free: 21.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.3069, allocations: 427.8 kB / 462.1 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3069, allocations: 0 / 462.1 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.3072, allocations: 206.4 kB / 462.3 MB, free: 20.99 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.3079, allocations: 128.7 kB / 462.4 MB, free: 20.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.3095, allocations: 1.507 MB / 463.9 MB, free: 20.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.3098, allocations: 0.8934 MB / 464.8 MB, free: 19.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004528/0.3103, allocations: 120.7 kB / 464.9 MB, free: 19.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.3105, allocations: 74.28 kB / 465 MB, free: 19.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3105, allocations: 0 / 465 MB, free: 19.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01566/0.3261, allocations: 9.302 MB / 474.3 MB, free: 18.08 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction.makefile (rm -f Chemical_Chemical.Examples.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction.sim & ./Chemical_Chemical.Examples.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction.pipe 2>&1)