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.001803/0.001803, allocations: 110.1 kB / 16.42 MB, free: 6.445 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.002243/0.002243, allocations: 186.6 kB / 17.35 MB, free: 5.742 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1377/0.1377, allocations: 15.3 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 425.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09494, 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.03267/0.1276, allocations: 23.88 MB / 0.4915 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009489/0.1371, allocations: 7.962 MB / 0.4993 GB, free: 6.023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.1378, allocations: 11.94 kB / 0.4993 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007383/0.1385, allocations: 186.5 kB / 0.4995 GB, free: 5.828 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.1405, allocations: 0.6864 MB / 0.5002 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.1429, allocations: 1.037 MB / 0.5012 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.1443, allocations: 0.9355 MB / 0.5021 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007338/0.145, allocations: 0.5096 MB / 0.5026 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006136/0.1457, allocations: 454.7 kB / 0.503 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.1465, allocations: 498.3 kB / 0.5035 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.1467, allocations: 80 kB / 0.5036 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.1489, allocations: 0.8659 MB / 0.5044 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.1491, allocations: 199.4 kB / 0.5046 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004778/0.1496, allocations: 418.1 kB / 0.505 GB, free: 156 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2241/0.3737, allocations: 1.759 MB / 0.5067 GB, free: 20.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3737, allocations: 1.812 kB / 0.5067 GB, free: 20.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3738, allocations: 0 / 0.5067 GB, free: 20.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.3738, allocations: 0 / 0.5067 GB, free: 20.6 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.002441/0.3762, allocations: 1.164 MB / 0.5079 GB, free: 19.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.3763, allocations: 9.156 kB / 0.5079 GB, free: 19.94 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007468/0.3771, allocations: 155.7 kB / 0.508 GB, free: 19.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.3779, allocations: 480.9 kB / 0.5085 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.378, allocations: 81.23 kB / 0.5086 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.3781, allocations: 67.86 kB / 0.5086 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.3794, allocations: 0.7802 MB / 0.5094 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3795, allocations: 3.438 kB / 0.5094 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.241e-05/0.3795, allocations: 32.78 kB / 0.5094 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.3796, allocations: 19.06 kB / 0.5094 GB, free: 19.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3809, allocations: 0.8748 MB / 0.5103 GB, free: 19.51 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.003626/0.3845, allocations: 2.556 MB / 0.5128 GB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.386, allocations: 1.007 MB / 0.5138 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.3864, allocations: 307.8 kB / 0.5141 GB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003548/0.39, allocations: 2.852 MB / 0.5169 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.39, allocations: 35.41 kB / 0.5169 GB, free: 16.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.39, allocations: 0 / 0.5169 GB, free: 16.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002464/0.3925, allocations: 1.236 MB / 0.5181 GB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.3925, allocations: 56.95 kB / 0.5182 GB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.393, allocations: 413.3 kB / 0.5186 GB, free: 15.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.393, allocations: 36.86 kB / 0.5186 GB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3932, allocations: 361.7 kB / 0.5189 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.3933, allocations: 167.8 kB / 0.5191 GB, free: 14.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.3935, allocations: 130.9 kB / 0.5192 GB, free: 14.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.3936, allocations: 358.2 kB / 0.5196 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.3939, allocations: 152.2 kB / 0.5197 GB, free: 14.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.3943, allocations: 393.2 kB / 0.5201 GB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.395, allocations: 0.5754 MB / 0.5206 GB, free: 13.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.395, allocations: 2.688 kB / 0.5206 GB, free: 13.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009343/0.3959, allocations: 0.6134 MB / 0.5212 GB, free: 13.49 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3959, allocations: 10.66 kB / 0.5213 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.396, allocations: 7.25 kB / 0.5213 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.396, allocations: 16.98 kB / 0.5213 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/0.3967, allocations: 202.5 kB / 0.5215 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.273e-05/0.3968, allocations: 15.72 kB / 0.5215 GB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.3971, allocations: 25.69 kB / 0.5215 GB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.3971, allocations: 33.69 kB / 0.5215 GB, free: 13.46 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.0002025/0.3973, allocations: 203.3 kB / 0.5217 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.3974, allocations: 51.34 kB / 0.5218 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009156/0.3983, allocations: 0.4943 MB / 0.5223 GB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3984, allocations: 7.844 kB / 0.5223 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3984, allocations: 3.891 kB / 0.5223 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.3986, allocations: 153.2 kB / 0.5224 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.3986, allocations: 10.75 kB / 0.5224 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3989, allocations: 9.453 kB / 0.5224 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.785e-05/0.3989, allocations: 33.97 kB / 0.5225 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009594/0.3999, allocations: 0.5234 MB / 0.523 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009291/0.4009, allocations: 0.7486 MB / 0.5237 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002566/0.4011, allocations: 177.4 kB / 0.5239 GB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002813/0.4014, allocations: 275.2 kB / 0.5241 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.4014, allocations: 2.688 kB / 0.5242 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0021/0.4035, allocations: 0.7972 MB / 0.5249 GB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 0.001918/0.4055, allocations: 1.577 MB / 0.5265 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01813/0.4236, allocations: 11.83 MB / 0.538 GB, free: 6.652 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)