Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.SimpleReaction2.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.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") translateModel(Chemical.Examples.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.SimpleReaction2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009503/0.009503, allocations: 169.3 kB / 16.26 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1904/0.1904, allocations: 15.27 MB / 306.7 MB, free: 15.69 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 8 kB / 372.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3299, allocations: 54.62 MB / 426.7 MB, free: 39.98 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.SimpleReaction2): time 0.02918/0.3592, allocations: 23.81 MB / 450.5 MB, free: 32.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.3716, allocations: 11.48 MB / 462 MB, free: 24.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.3726, allocations: 21.31 kB / 462 MB, free: 24.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000874/0.3735, allocations: 232.4 kB / 462.2 MB, free: 24.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002911/0.3764, allocations: 0.846 MB / 463.1 MB, free: 24.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00462/0.3811, allocations: 1.32 MB / 464.4 MB, free: 23.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001954/0.3831, allocations: 1.214 MB / 465.6 MB, free: 22.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/0.384, allocations: 0.5751 MB / 466.2 MB, free: 22.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.3853, allocations: 0.5388 MB / 466.7 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.3866, allocations: 0.6186 MB / 467.4 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002934/0.387, allocations: 55.09 kB / 467.4 MB, free: 22.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004868/0.3918, allocations: 1.237 MB / 468.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.3922, allocations: 208.5 kB / 468.9 MB, free: 21.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3933, allocations: 0.5207 MB / 469.4 MB, free: 21.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006046/0.3993, allocations: 2.315 MB / 471.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3994, allocations: 0 / 471.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3994, allocations: 1.25 kB / 471.7 MB, free: 20.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.349e-05/0.3995, allocations: 0 / 471.7 MB, free: 20.62 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00325/0.4027, allocations: 1.272 MB / 473 MB, free: 19.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4028, allocations: 8.031 kB / 473 MB, free: 19.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.4038, allocations: 216.6 kB / 473.2 MB, free: 19.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000891/0.4047, allocations: 0.5446 MB / 473.7 MB, free: 18.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4048, allocations: 96.27 kB / 473.8 MB, free: 18.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.4051, allocations: 88.28 kB / 473.9 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.4068, allocations: 1.052 MB / 475 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.4068, allocations: 0 / 475 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.4069, allocations: 36 kB / 475 MB, free: 17.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4069, allocations: 23.94 kB / 475 MB, free: 17.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.4085, allocations: 1.267 MB / 476.3 MB, free: 16.61 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.004266/0.4128, allocations: 3.448 MB / 479.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.4146, allocations: 1.528 MB / 481.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/0.4151, allocations: 434.6 kB / 481.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00402/0.4191, allocations: 3.967 MB / 485.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.4192, allocations: 43.88 kB / 485.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.054e-06/0.4192, allocations: 3.938 kB / 485.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.002884/0.4221, allocations: 1.663 MB / 487.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.4221, allocations: 55.97 kB / 487.4 MB, free: 5.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.4226, allocations: 0.5094 MB / 487.9 MB, free: 5.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.4226, allocations: 33.7 kB / 488 MB, free: 5.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.4228, allocations: 461.4 kB / 488.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.4229, allocations: 225.4 kB / 488.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.182e-05/0.423, allocations: 81.2 kB / 488.7 MB, free: 4.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.4231, allocations: 372.1 kB / 489.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.4234, allocations: 214.1 kB / 489.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004198/0.4239, allocations: 0.5384 MB / 489.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.4247, allocations: 0.808 MB / 490.6 MB, free: 2.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.4247, allocations: 4 kB / 490.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001137/0.4258, allocations: 0.8506 MB / 491.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4259, allocations: 16.25 kB / 491.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4259, allocations: 8 kB / 491.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.4259, allocations: 24.73 kB / 491.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009002/0.4268, allocations: 258.4 kB / 491.8 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.4268, allocations: 26.59 kB / 491.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.4274, allocations: 54.56 kB / 491.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4274, allocations: 50.86 kB / 491.9 MB, free: 1.441 MB / 350.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.0002587/0.4277, allocations: 236 kB / 492.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.826e-05/0.4278, allocations: 67.67 kB / 492.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.429, allocations: 0.6945 MB / 492.9 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.429, allocations: 4.75 kB / 492.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.4291, allocations: 0 / 492.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.4291, allocations: 7.562 kB / 492.9 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4301, allocations: 0.772 MB / 493.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.4301, allocations: 0 / 493.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007419/0.4309, allocations: 176.4 kB / 493.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4309, allocations: 8.875 kB / 493.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.655e-05/0.431, allocations: 21.3 kB / 493.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.431, allocations: 4.656 kB / 493.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.431, allocations: 0 / 493.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.4323, allocations: 0.955 MB / 494.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.4326, allocations: 185 kB / 495 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.4327, allocations: 16.92 kB / 495 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.433, allocations: 22.91 kB / 495.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.4332, allocations: 49.39 kB / 495.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.4332, allocations: 25.64 kB / 495.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003907/0.4336, allocations: 345.8 kB / 495.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4336, allocations: 0 / 495.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001541/0.4352, allocations: 476.8 kB / 495.9 MB, free: 13.7 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.001305/0.4365, allocations: 0.5755 MB / 496.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4377, allocations: 0.6012 MB / 497.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4378, allocations: 1 kB / 497.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.4382, allocations: 289.3 kB / 497.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4393, allocations: 160.1 kB / 497.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.4424, allocations: 1.954 MB / 499.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.4432, allocations: 0.9531 MB / 0.4887 GB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008176/0.444, allocations: 173.5 kB / 0.4889 GB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.4443, allocations: 104.1 kB / 0.489 GB, free: 9.293 MB / 366.1 MB Notification: Performance of SimCode: time 2.375e-06/0.4443, allocations: 0 / 0.489 GB, free: 9.293 MB / 366.1 MB Notification: Performance of Templates: time 0.02284/0.4671, allocations: 13.51 MB / 0.5022 GB, free: 13.14 MB / 382.1 MB make -j1 -f Chemical_Chemical.Examples.SimpleReaction2.makefile (rm -f Chemical_Chemical.Examples.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Examples.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Examples.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Examples.SimpleReaction2.sim & ./Chemical_Chemical.Examples.SimpleReaction2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.SimpleReaction2.pipe 2>&1)