Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.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.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 173 kB / 16.92 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2301/0.2301, allocations: 15.27 MB / 307.4 MB, free: 15.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 8 kB / 372.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 54.62 MB / 427.4 MB, free: 40.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.CheckSubstancesData.SimpleReaction): time 0.003289/0.3329, allocations: 3.087 MB / 430.5 MB, free: 39.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.3386, allocations: 6.208 MB / 436.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.3391, allocations: 14.31 kB / 436.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.3396, allocations: 136.3 kB / 436.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007025/0.3403, allocations: 228.7 kB / 437 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00245/0.3428, allocations: 0.8401 MB / 437.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006942/0.3435, allocations: 494.2 kB / 438.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.3438, allocations: 145.6 kB / 438.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.344, allocations: 215.2 kB / 438.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002994/0.3443, allocations: 235.9 kB / 438.9 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/0.3443, allocations: 15.22 kB / 439 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.3458, allocations: 0.5364 MB / 439.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3459, allocations: 85.89 kB / 439.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001604/0.346, allocations: 206.1 kB / 439.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008111/0.3469, allocations: 0.7207 MB / 440.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3469, allocations: 0 / 440.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3469, allocations: 0 / 440.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3469, allocations: 0 / 440.5 MB, free: 34.88 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008652/0.3478, allocations: 0.6646 MB / 441.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3478, allocations: 10.31 kB / 441.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004869/0.3483, allocations: 109.6 kB / 441.3 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.3487, allocations: 357.5 kB / 441.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.3488, allocations: 16.81 kB / 441.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.3488, allocations: 21.56 kB / 441.7 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.3494, allocations: 387.4 kB / 442 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3494, allocations: 0 / 442 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.3494, allocations: 11.28 kB / 442.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3495, allocations: 3.031 kB / 442.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006738/0.3501, allocations: 0.5465 MB / 442.6 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.3516, allocations: 1.393 MB / 444 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002808/0.3519, allocations: 167.2 kB / 444.2 MB, free: 32.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.352, allocations: 94.27 kB / 444.3 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.3538, allocations: 1.855 MB / 446.1 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3538, allocations: 37.47 kB / 446.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 3.026e-06/0.3538, allocations: 0 / 446.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004377/0.3543, allocations: 215.8 kB / 446.4 MB, free: 30.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.3543, allocations: 55.41 kB / 446.4 MB, free: 30.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/0.3546, allocations: 378.1 kB / 446.8 MB, free: 30.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3547, allocations: 33.02 kB / 446.8 MB, free: 30.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3548, allocations: 219 kB / 447 MB, free: 30.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.3548, allocations: 52.55 kB / 447.1 MB, free: 30.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.3549, allocations: 30.41 kB / 447.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.226e-05/0.355, allocations: 343.2 kB / 447.4 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.3551, allocations: 61.25 kB / 447.5 MB, free: 30.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.3553, allocations: 247.8 kB / 447.7 MB, free: 29.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.3556, allocations: 344.5 kB / 448.1 MB, free: 29.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3556, allocations: 7.219 kB / 448.1 MB, free: 29.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004452/0.356, allocations: 353.8 kB / 448.4 MB, free: 29.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3561, allocations: 6.094 kB / 448.4 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3561, allocations: 10.38 kB / 448.4 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.3561, allocations: 9.656 kB / 448.5 MB, free: 29.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.3563, allocations: 79.22 kB / 448.5 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.3563, allocations: 9.906 kB / 448.5 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.3565, allocations: 40.56 kB / 448.6 MB, free: 29.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3566, allocations: 22.66 kB / 448.6 MB, free: 29.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (35): * Single equations (assignments): 35 * 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.0001399/0.3567, allocations: 157.1 kB / 448.8 MB, free: 29.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.3568, allocations: 39.56 kB / 448.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.3573, allocations: 283.1 kB / 449.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.3573, allocations: 3.25 kB / 449.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.3573, allocations: 0 / 449.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.3573, allocations: 7.875 kB / 449.1 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.3579, allocations: 0.6314 MB / 449.7 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3579, allocations: 0 / 449.7 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.3579, allocations: 13.59 kB / 449.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.358, allocations: 3.062 kB / 449.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.358, allocations: 192 / 449.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.358, allocations: 7.219 kB / 449.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.358, allocations: 14.14 kB / 449.8 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.3582, allocations: 174.3 kB / 449.9 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-05/0.3583, allocations: 131.7 kB / 450.1 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.3583, allocations: 7.344 kB / 450.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.3584, allocations: 0 / 450.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/0.3584, allocations: 10.41 kB / 450.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.3585, allocations: 3.188 kB / 450.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002892/0.3587, allocations: 320.4 kB / 450.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3588, allocations: 0 / 450.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005649/0.3593, allocations: 161.7 kB / 450.5 MB, free: 27.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (6): * Single equations (assignments): 6 * 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.000501/0.3598, allocations: 303.4 kB / 450.8 MB, free: 27.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3601, allocations: 162.2 kB / 451 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3601, allocations: 3.062 kB / 451 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.3602, allocations: 30.73 kB / 451 MB, free: 27.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.3608, allocations: 93.52 kB / 451.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000821/0.3616, allocations: 0.6918 MB / 451.8 MB, free: 27.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.3618, allocations: 0.7725 MB / 452.6 MB, free: 26.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.362, allocations: 64.58 kB / 452.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.362, allocations: 4 kB / 452.7 MB, free: 26.46 MB / 350.1 MB Notification: Performance of Templates: time 0.008377/0.3704, allocations: 5.714 MB / 458.4 MB, free: 25.81 MB / 350.1 MB make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.makefile (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction.pipe 2>&1)