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.001042/0.001042, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.000968/0.000968, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07564/0.07564, allocations: 15.31 MB / 306.5 MB, free: 15.42 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.91 kB / 425.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08411/0.08528, allocations: 53.61 MB / 479.5 MB, free: 5.812 MB / 350.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.SimpleReaction): time 0.02984/0.1152, allocations: 23.81 MB / 0.4915 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008572/0.1237, allocations: 7.955 MB / 0.4992 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.124, allocations: 15.94 kB / 0.4993 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004585/0.1245, allocations: 182.5 kB / 0.4994 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.1258, allocations: 0.6825 MB / 0.5001 GB, free: 5.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.1275, allocations: 1.029 MB / 0.5011 GB, free: 4.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008716/0.1284, allocations: 0.9317 MB / 0.502 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.129, allocations: 0.5057 MB / 0.5025 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.1294, allocations: 462.7 kB / 0.503 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005878/0.13, allocations: 494.3 kB / 0.5034 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.1301, allocations: 80 kB / 0.5035 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.1317, allocations: 0.8737 MB / 0.5044 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1319, allocations: 183.4 kB / 0.5045 GB, free: 0.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.1322, allocations: 426 kB / 0.5049 GB, free: 256 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1789/0.3111, allocations: 1.765 MB / 0.5067 GB, free: 20.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3112, allocations: 1.188 kB / 0.5067 GB, free: 20.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3112, allocations: 0 / 0.5067 GB, free: 20.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3112, allocations: 0 / 0.5067 GB, free: 20.64 MB / 382.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.001679/0.3129, allocations: 1.16 MB / 0.5078 GB, free: 19.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.3129, allocations: 11.69 kB / 0.5078 GB, free: 19.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/0.3136, allocations: 159.8 kB / 0.508 GB, free: 19.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.3141, allocations: 478.8 kB / 0.5084 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.3142, allocations: 79.64 kB / 0.5085 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.3144, allocations: 71.38 kB / 0.5086 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3155, allocations: 0.7793 MB / 0.5093 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3156, allocations: 1.594 kB / 0.5093 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.978e-05/0.3156, allocations: 26.59 kB / 0.5093 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.3157, allocations: 16.44 kB / 0.5094 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.3169, allocations: 0.8783 MB / 0.5102 GB, free: 19.55 MB / 382.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.003306/0.3202, allocations: 2.565 MB / 0.5127 GB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.3215, allocations: 1.003 MB / 0.5137 GB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004056/0.322, allocations: 308.9 kB / 0.514 GB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002929/0.3249, allocations: 2.842 MB / 0.5168 GB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.306e-05/0.3249, allocations: 33.56 kB / 0.5168 GB, free: 16.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/0.3249, allocations: 0 / 0.5168 GB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002333/0.3273, allocations: 1.236 MB / 0.518 GB, free: 15.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.3273, allocations: 58.19 kB / 0.5181 GB, free: 15.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003962/0.3277, allocations: 421.2 kB / 0.5185 GB, free: 15.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3277, allocations: 33.86 kB / 0.5185 GB, free: 15.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.3279, allocations: 367.4 kB / 0.5188 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.328, allocations: 161.1 kB / 0.519 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.3281, allocations: 131.1 kB / 0.5191 GB, free: 14.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.3282, allocations: 360.9 kB / 0.5195 GB, free: 14.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.3285, allocations: 150 kB / 0.5196 GB, free: 14.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.3288, allocations: 390.2 kB / 0.52 GB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.3294, allocations: 0.5765 MB / 0.5206 GB, free: 13.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3294, allocations: 2.031 kB / 0.5206 GB, free: 13.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0008774/0.3303, allocations: 0.6151 MB / 0.5212 GB, free: 13.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3303, allocations: 7.625 kB / 0.5212 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.3304, allocations: 9.516 kB / 0.5212 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3304, allocations: 14.62 kB / 0.5212 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.3311, allocations: 204.3 kB / 0.5214 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.3311, allocations: 16.75 kB / 0.5214 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3314, allocations: 22.84 kB / 0.5214 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.3315, allocations: 36.95 kB / 0.5215 GB, free: 13.53 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.3317, allocations: 212.2 kB / 0.5217 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.3318, allocations: 50.7 kB / 0.5217 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008545/0.3326, allocations: 0.4981 MB / 0.5222 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3326, allocations: 6.281 kB / 0.5222 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3327, allocations: 0.5625 kB / 0.5222 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.3328, allocations: 152.4 kB / 0.5223 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.088e-05/0.3329, allocations: 12.19 kB / 0.5224 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3331, allocations: 6.953 kB / 0.5224 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.3332, allocations: 39.19 kB / 0.5224 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009029/0.3341, allocations: 0.5147 MB / 0.5229 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008541/0.335, allocations: 0.7568 MB / 0.5236 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002322/0.3352, allocations: 174.5 kB / 0.5238 GB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.3355, allocations: 278.4 kB / 0.5241 GB, free: 12.11 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.3355, allocations: 0 / 0.5241 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3372, allocations: 0.8001 MB / 0.5249 GB, free: 11.89 MB / 382.1 MB Notification: Performance of SimCode: time 0.001647/0.3389, allocations: 1.574 MB / 0.5264 GB, free: 10.86 MB / 382.1 MB Notification: Performance of Templates: time 0.01527/0.3542, allocations: 11.83 MB / 0.5379 GB, free: 6.715 MB / 382.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)