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.001408/0.001408, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001565/0.001565, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.1428/0.1428, allocations: 23.89 MB / 337.1 MB, free: 11.19 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.002204/0.002204, allocations: 71.84 kB / 472.5 MB, free: 7.148 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3231, allocations: 59.88 MB / 0.5199 GB, free: 9.863 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.03781/0.3609, allocations: 24.33 MB / 0.5436 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.3729, allocations: 9.257 MB / 0.5527 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.3735, allocations: 19.81 kB / 0.5527 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.3743, allocations: 215.9 kB / 0.5529 GB, free: 6.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3755, allocations: 370.8 kB / 0.5533 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004373/0.3799, allocations: 1.437 MB / 0.5547 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001451/0.3813, allocations: 0.6637 MB / 0.5553 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.3817, allocations: 195.7 kB / 0.5555 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004015/0.3821, allocations: 328.9 kB / 0.5558 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005443/0.3827, allocations: 348 kB / 0.5561 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.322e-05/0.3828, allocations: 36 kB / 0.5562 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003231/0.386, allocations: 0.8312 MB / 0.557 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.3862, allocations: 129.2 kB / 0.5571 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003528/0.3866, allocations: 254.8 kB / 0.5574 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004107/0.3907, allocations: 1.539 MB / 0.5589 GB, free: 1.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3907, allocations: 3.938 kB / 0.5589 GB, free: 1.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3907, allocations: 0 / 0.5589 GB, free: 1.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3907, allocations: 0 / 0.5589 GB, free: 1.285 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.001735/0.3924, allocations: 0.8792 MB / 0.5597 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3925, allocations: 12.03 kB / 0.5597 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008672/0.3933, allocations: 166.8 kB / 0.5599 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007988/0.3941, allocations: 399.9 kB / 0.5603 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3942, allocations: 21.64 kB / 0.5603 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.3942, allocations: 36.06 kB / 0.5603 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.3951, allocations: 0.5258 MB / 0.5608 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3952, allocations: 8 kB / 0.5608 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.3952, allocations: 12 kB / 0.5609 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3952, allocations: 8 kB / 0.5609 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.3965, allocations: 0.8068 MB / 0.5617 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.3992, allocations: 1.848 MB / 0.5635 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.3997, allocations: 197.5 kB / 0.5636 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.3999, allocations: 126.5 kB / 0.5638 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002998/0.4029, allocations: 1.338 MB / 0.5651 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4029, allocations: 43.02 kB / 0.5651 GB, free: 11.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.653e-06/0.4029, allocations: 0 / 0.5651 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006336/0.4036, allocations: 292.6 kB / 0.5654 GB, free: 11.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4036, allocations: 55.41 kB / 0.5654 GB, free: 11.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.4042, allocations: 486.7 kB / 0.5659 GB, free: 10.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.4042, allocations: 25.7 kB / 0.5659 GB, free: 10.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/0.4044, allocations: 300 kB / 0.5662 GB, free: 10.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.4045, allocations: 67.45 kB / 0.5663 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.4046, allocations: 94.08 kB / 0.5664 GB, free: 10.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4048, allocations: 358.7 kB / 0.5667 GB, free: 9.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.405, allocations: 92.81 kB / 0.5668 GB, free: 9.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003992/0.4054, allocations: 365 kB / 0.5672 GB, free: 9.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.406, allocations: 0.5003 MB / 0.5676 GB, free: 8.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.406, allocations: 4 kB / 0.5676 GB, free: 8.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007993/0.4068, allocations: 485.4 kB / 0.5681 GB, free: 8.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4068, allocations: 14.66 kB / 0.5681 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4068, allocations: 8 kB / 0.5681 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.4068, allocations: 12 kB / 0.5681 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.4072, allocations: 115.8 kB / 0.5683 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.4072, allocations: 15.94 kB / 0.5683 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.4075, allocations: 59.55 kB / 0.5683 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.4076, allocations: 36.22 kB / 0.5684 GB, free: 7.898 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.0002029/0.4078, allocations: 181.6 kB / 0.5685 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.4079, allocations: 55.61 kB / 0.5686 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.4086, allocations: 391.9 kB / 0.569 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4086, allocations: 4 kB / 0.569 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4086, allocations: 0 / 0.569 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4086, allocations: 0 / 0.569 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.4095, allocations: 0.6967 MB / 0.5696 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4095, allocations: 0 / 0.5696 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.4096, allocations: 23.94 kB / 0.5697 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4096, allocations: 4 kB / 0.5697 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.4096, allocations: 4 kB / 0.5697 GB, free: 6.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4096, allocations: 3.984 kB / 0.5697 GB, free: 6.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4096, allocations: 4.188 kB / 0.5697 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4099, allocations: 204.9 kB / 0.5699 GB, free: 6.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.41, allocations: 55.58 kB / 0.5699 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/0.4101, allocations: 11.95 kB / 0.5699 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.4102, allocations: 8 kB / 0.57 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.4102, allocations: 3.984 kB / 0.57 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4102, allocations: 4 kB / 0.57 GB, free: 6.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004848/0.4107, allocations: 414.8 kB / 0.5704 GB, free: 5.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4107, allocations: 0 / 0.5704 GB, free: 5.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008455/0.4115, allocations: 255.1 kB / 0.5706 GB, free: 5.453 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.0007136/0.4123, allocations: 406 kB / 0.571 GB, free: 5.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.4127, allocations: 221 kB / 0.5712 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4127, allocations: 0 / 0.5712 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.601e-05/0.4128, allocations: 35.91 kB / 0.5712 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.4134, allocations: 132.5 kB / 0.5714 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.4145, allocations: 0.718 MB / 0.5721 GB, free: 3.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.415, allocations: 0.8074 MB / 0.5728 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.4151, allocations: 91.39 kB / 0.5729 GB, free: 2.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4151, allocations: 0 / 0.5729 GB, free: 2.984 MB / 414.1 MB Notification: Performance of Templates: time 0.01332/0.4285, allocations: 8.12 MB / 0.5809 GB, free: 10.88 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.159889392991317] Failed to read output from testmodel.py, exit status != 0: 0.43765078802243806 0.45211288000000005 0.058266003000000004 Calling exit ...