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.00606/0.00606, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001309/0.001309, allocations: 193.4 kB / 16.79 MB, free: 5.809 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.341/1.341, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2111/0.2111, allocations: 15.31 MB / 305.9 MB, free: 15.37 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 370.3 MB, free: 4.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1168, allocations: 53.62 MB / 423.9 MB, free: 14.77 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.SimpleReaction2): time 0.355/0.4719, allocations: 24.85 MB / 448.8 MB, free: 39.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4831, allocations: 11.59 MB / 460.4 MB, free: 34.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.4841, allocations: 23.81 kB / 460.4 MB, free: 34.06 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.4849, allocations: 234.1 kB / 460.6 MB, free: 33.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002508/0.4874, allocations: 0.8456 MB / 461.5 MB, free: 33.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.4915, allocations: 1.32 MB / 462.8 MB, free: 32.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001844/0.4933, allocations: 1.214 MB / 464 MB, free: 32.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008258/0.4942, allocations: 0.6059 MB / 464.6 MB, free: 32.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.4949, allocations: 0.5711 MB / 465.2 MB, free: 32.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007756/0.4957, allocations: 0.6584 MB / 465.8 MB, free: 32.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.4958, allocations: 68.28 kB / 465.9 MB, free: 32.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.5005, allocations: 1.251 MB / 467.1 MB, free: 31.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002894/0.5008, allocations: 231.4 kB / 467.4 MB, free: 31.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006803/0.5015, allocations: 0.5159 MB / 467.9 MB, free: 31.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.5043, allocations: 1.837 MB / 469.7 MB, free: 30.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5043, allocations: 1 kB / 469.7 MB, free: 30.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5044, allocations: 0 / 469.7 MB, free: 30.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.5044, allocations: 0 / 469.7 MB, free: 30.55 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.002827/0.5072, allocations: 1.501 MB / 471.2 MB, free: 29.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5073, allocations: 8.688 kB / 471.2 MB, free: 29.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.5083, allocations: 209.1 kB / 471.4 MB, free: 29.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000847/0.5092, allocations: 0.5567 MB / 472 MB, free: 29.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.5093, allocations: 94.95 kB / 472.1 MB, free: 29.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.5094, allocations: 98.58 kB / 472.2 MB, free: 29.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.5111, allocations: 1.053 MB / 473.2 MB, free: 28.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.5111, allocations: 1.375 kB / 473.2 MB, free: 28.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.433e-05/0.5112, allocations: 34.88 kB / 473.3 MB, free: 28.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.5113, allocations: 22 kB / 473.3 MB, free: 28.57 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.5132, allocations: 1.273 MB / 474.6 MB, free: 28.21 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.005147/0.5184, allocations: 3.471 MB / 478 MB, free: 26.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/0.5206, allocations: 1.532 MB / 479.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.5212, allocations: 435 kB / 480 MB, free: 25.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004703/0.5259, allocations: 4.066 MB / 484.1 MB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.526, allocations: 37.78 kB / 484.1 MB, free: 21.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.003e-06/0.526, allocations: 0 / 484.1 MB, free: 21.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.003261/0.5293, allocations: 1.661 MB / 485.8 MB, free: 20.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.5293, allocations: 61.09 kB / 485.8 MB, free: 20.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.5299, allocations: 0.5094 MB / 486.3 MB, free: 20.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.5299, allocations: 36.05 kB / 486.4 MB, free: 20.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.5302, allocations: 460 kB / 486.8 MB, free: 20.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.5303, allocations: 227.8 kB / 487 MB, free: 20.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.5305, allocations: 177.1 kB / 487.2 MB, free: 20 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.5306, allocations: 372.9 kB / 487.6 MB, free: 19.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.531, allocations: 210.3 kB / 487.8 MB, free: 19.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.5315, allocations: 0.5318 MB / 488.3 MB, free: 19.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009428/0.5325, allocations: 0.8139 MB / 489.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.5325, allocations: 7.312 kB / 489.1 MB, free: 18.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001329/0.5338, allocations: 0.8518 MB / 490 MB, free: 18.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.5339, allocations: 11.66 kB / 490 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.5339, allocations: 15.61 kB / 490 MB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.5339, allocations: 20.44 kB / 490 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.5349, allocations: 261.5 kB / 490.3 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.759e-05/0.535, allocations: 22.5 kB / 490.3 MB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.5356, allocations: 58.81 kB / 490.4 MB, free: 18.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.5357, allocations: 49.67 kB / 490.4 MB, free: 18 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.0003203/0.536, allocations: 233.1 kB / 490.6 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5361, allocations: 70.22 kB / 490.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.5374, allocations: 0.6894 MB / 491.4 MB, free: 17.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5375, allocations: 10.81 kB / 491.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.5375, allocations: 2.125 kB / 491.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5375, allocations: 7.047 kB / 491.4 MB, free: 17.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.5386, allocations: 0.7692 MB / 492.2 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.5386, allocations: 1.344 kB / 492.2 MB, free: 17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.5394, allocations: 175.8 kB / 492.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.5394, allocations: 3.875 kB / 492.4 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.5394, allocations: 27.66 kB / 492.4 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.5395, allocations: 3.75 kB / 492.4 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.5395, allocations: 2.938 kB / 492.4 MB, free: 16.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.5408, allocations: 0.9464 MB / 493.3 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/0.5411, allocations: 193.5 kB / 493.5 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.122e-05/0.5412, allocations: 16.58 kB / 493.5 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.5415, allocations: 21.73 kB / 493.6 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.5416, allocations: 50.27 kB / 493.6 MB, free: 16.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.5417, allocations: 28.06 kB / 493.6 MB, free: 16.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003252/0.542, allocations: 343 kB / 494 MB, free: 16.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.542, allocations: 0 / 494 MB, free: 16.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001283/0.5433, allocations: 471.9 kB / 494.4 MB, free: 16.02 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.0009775/0.5443, allocations: 0.5759 MB / 495 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009305/0.5452, allocations: 0.5981 MB / 495.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5452, allocations: 320 / 495.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.5456, allocations: 293.9 kB / 495.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.5465, allocations: 167.9 kB / 496.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.5487, allocations: 1.908 MB / 498 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.5491, allocations: 0.9548 MB / 498.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.5494, allocations: 126.9 kB / 499.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5494, allocations: 0 / 499.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01661/0.566, allocations: 12.36 MB / 0.4994 GB, free: 7.883 MB / 366.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)