Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 207.9 kB / 22.99 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1305/0.1305, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 64.17 kB / 472.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2699, allocations: 59.88 MB / 0.5198 GB, free: 9.996 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:12638:6-12638: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 master/Obsolete.mo:12638:6-12638: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.Obsolete.Examples.CheckSubstancesData.SimpleReaction2): time 0.0664/0.3363, allocations: 24 MB / 0.5433 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3469, allocations: 8.073 MB / 0.5511 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.3473, allocations: 15.88 kB / 0.5512 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.3479, allocations: 188.6 kB / 0.5513 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008566/0.3488, allocations: 370.1 kB / 0.5517 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.3519, allocations: 1.438 MB / 0.5531 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008551/0.3528, allocations: 0.6785 MB / 0.5538 GB, free: 5.895 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002904/0.3531, allocations: 185.2 kB / 0.5539 GB, free: 5.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.3535, allocations: 331.5 kB / 0.5543 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.354, allocations: 349.7 kB / 0.5546 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.426e-05/0.354, allocations: 36 kB / 0.5546 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.3557, allocations: 0.797 MB / 0.5554 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3559, allocations: 121 kB / 0.5555 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.3561, allocations: 215.2 kB / 0.5557 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.3582, allocations: 1.52 MB / 0.5572 GB, free: 2.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3582, allocations: 8 kB / 0.5572 GB, free: 2.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3582, allocations: 0 / 0.5572 GB, free: 2.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3582, allocations: 3.938 kB / 0.5572 GB, free: 2.836 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001413/0.3596, allocations: 0.8829 MB / 0.5581 GB, free: 1.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.3596, allocations: 12.03 kB / 0.5581 GB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008165/0.3604, allocations: 159.4 kB / 0.5582 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000711/0.3611, allocations: 401.7 kB / 0.5586 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.3612, allocations: 25.67 kB / 0.5587 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.3612, allocations: 36.12 kB / 0.5587 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008879/0.3621, allocations: 0.5295 MB / 0.5592 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3621, allocations: 0 / 0.5592 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/0.3622, allocations: 12.8 kB / 0.5592 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.3622, allocations: 8 kB / 0.5592 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.3635, allocations: 0.7987 MB / 0.56 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.366, allocations: 1.714 MB / 0.5617 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.3664, allocations: 200.9 kB / 0.5619 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.3667, allocations: 127.8 kB / 0.562 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002817/0.3695, allocations: 1.283 MB / 0.5632 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.3695, allocations: 38.56 kB / 0.5633 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.3695, allocations: 0 / 0.5633 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.000592/0.3701, allocations: 290.7 kB / 0.5636 GB, free: 12.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.3702, allocations: 59.34 kB / 0.5636 GB, free: 12.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004925/0.3707, allocations: 452.8 kB / 0.564 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3707, allocations: 29.64 kB / 0.5641 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3709, allocations: 299.8 kB / 0.5644 GB, free: 12.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.371, allocations: 71.45 kB / 0.5644 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3711, allocations: 94.08 kB / 0.5645 GB, free: 11.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3713, allocations: 358.7 kB / 0.5649 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3714, allocations: 96.81 kB / 0.565 GB, free: 11.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.3718, allocations: 361.1 kB / 0.5653 GB, free: 11.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.3724, allocations: 0.4886 MB / 0.5658 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3724, allocations: 0 / 0.5658 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007703/0.3732, allocations: 493.1 kB / 0.5662 GB, free: 9.898 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.3732, allocations: 10.81 kB / 0.5663 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3732, allocations: 8 kB / 0.5663 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.3732, allocations: 16 kB / 0.5663 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.3735, allocations: 107.8 kB / 0.5664 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/0.3736, allocations: 15.94 kB / 0.5664 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.3738, allocations: 60.11 kB / 0.5665 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/0.3739, allocations: 36 kB / 0.5665 GB, free: 9.652 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001839/0.3741, allocations: 177.6 kB / 0.5667 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.3741, allocations: 43.72 kB / 0.5667 GB, free: 9.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000742/0.3749, allocations: 403.5 kB / 0.5671 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3749, allocations: 3.938 kB / 0.5671 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.3749, allocations: 0 / 0.5671 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3749, allocations: 0 / 0.5671 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007849/0.3757, allocations: 0.6349 MB / 0.5677 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3757, allocations: 4 kB / 0.5677 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.3757, allocations: 8 kB / 0.5677 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3757, allocations: 4 kB / 0.5677 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3758, allocations: 3.938 kB / 0.5677 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3758, allocations: 7.938 kB / 0.5677 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3758, allocations: 0 / 0.5677 GB, free: 8.266 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.376, allocations: 189.1 kB / 0.5679 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.3761, allocations: 43.7 kB / 0.568 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.3762, allocations: 16 kB / 0.568 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3763, allocations: 3.984 kB / 0.568 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.3763, allocations: 4 kB / 0.568 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3763, allocations: 8 kB / 0.568 GB, free: 7.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004256/0.3767, allocations: 366.8 kB / 0.5683 GB, free: 7.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3767, allocations: 0 / 0.5683 GB, free: 7.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007182/0.3774, allocations: 259 kB / 0.5686 GB, free: 7.363 MB / 414.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.0006521/0.3781, allocations: 406.6 kB / 0.569 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.3785, allocations: 218 kB / 0.5692 GB, free: 6.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3785, allocations: 4.125 kB / 0.5692 GB, free: 6.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.3785, allocations: 31.92 kB / 0.5692 GB, free: 6.711 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.3791, allocations: 99.62 kB / 0.5693 GB, free: 6.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.3801, allocations: 0.6815 MB / 0.57 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001872/0.3802, allocations: 207.8 kB / 0.5702 GB, free: 5.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003402/0.3806, allocations: 131.1 kB / 0.5703 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3807, allocations: 59.41 kB / 0.5704 GB, free: 5.488 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3807, allocations: 0 / 0.5704 GB, free: 5.488 MB / 414.1 MB Notification: Performance of Templates: time 0.01425/0.395, allocations: 8.899 MB / 0.579 GB, free: 12.65 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.691004665000946] Failed to read output from testmodel.py, exit status != 0: 0.4028663830104051 0.416755867 0.055627145 Calling exit ...