Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0013/0.0013, allocations: 77.23 kB / 19.76 MB, free: 2.031 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.001367/0.001367, allocations: 162.5 kB / 23.01 MB, free: 4.945 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1188/0.1188, allocations: 17.35 MB / 277.1 MB, free: 15.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002068/0.002068, allocations: 64.14 kB / 412.4 MB, free: 5.703 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.109, allocations: 59.86 MB / 472.3 MB, free: 9.727 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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 2.0.0/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.4225/0.5315, allocations: 24.12 MB / 496.4 MB, free: 39.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00701/0.5385, allocations: 8.079 MB / 0.4927 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000283/0.5388, allocations: 13.19 kB / 0.4927 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.5393, allocations: 197.1 kB / 0.4929 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006703/0.54, allocations: 365.6 kB / 0.4932 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.5425, allocations: 1.445 MB / 0.4946 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006182/0.5431, allocations: 0.666 MB / 0.4953 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002221/0.5433, allocations: 190.8 kB / 0.4955 GB, free: 33.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.5436, allocations: 328.1 kB / 0.4958 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.544, allocations: 333.9 kB / 0.4961 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.724e-05/0.544, allocations: 41.31 kB / 0.4961 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.5454, allocations: 0.775 MB / 0.4969 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.5455, allocations: 125.9 kB / 0.497 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.5457, allocations: 212.5 kB / 0.4972 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.5473, allocations: 1.521 MB / 0.4987 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5473, allocations: 0.6875 kB / 0.4987 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5473, allocations: 0 / 0.4987 GB, free: 32.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.5473, allocations: 0.5312 kB / 0.4987 GB, free: 32.51 MB / 446.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.001213/0.5485, allocations: 0.8863 MB / 0.4996 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5486, allocations: 10.56 kB / 0.4996 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.5493, allocations: 159.5 kB / 0.4997 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.5498, allocations: 398.2 kB / 0.5001 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5498, allocations: 24.94 kB / 0.5001 GB, free: 31.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.5499, allocations: 32.16 kB / 0.5002 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.5506, allocations: 0.5358 MB / 0.5007 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5506, allocations: 0 / 0.5007 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.5506, allocations: 12.41 kB / 0.5007 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.5506, allocations: 8 kB / 0.5007 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.5516, allocations: 0.7949 MB / 0.5015 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.5534, allocations: 1.72 MB / 0.5032 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.5538, allocations: 208.6 kB / 0.5034 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.554, allocations: 124.1 kB / 0.5035 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002201/0.5562, allocations: 1.276 MB / 0.5047 GB, free: 29.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5562, allocations: 40.28 kB / 0.5048 GB, free: 29.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.5562, allocations: 0 / 0.5048 GB, free: 29.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005261/0.5568, allocations: 292.9 kB / 0.505 GB, free: 29.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.5568, allocations: 53.62 kB / 0.5051 GB, free: 29.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.5572, allocations: 453.2 kB / 0.5055 GB, free: 28.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.5572, allocations: 27.17 kB / 0.5056 GB, free: 28.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.5573, allocations: 307.5 kB / 0.5058 GB, free: 28.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.5574, allocations: 62.91 kB / 0.5059 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.5575, allocations: 98.2 kB / 0.506 GB, free: 28.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.5575, allocations: 354.6 kB / 0.5063 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5577, allocations: 91.73 kB / 0.5064 GB, free: 28.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.5579, allocations: 361.9 kB / 0.5068 GB, free: 27.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.5583, allocations: 0.4986 MB / 0.5073 GB, free: 27.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5583, allocations: 2.438 kB / 0.5073 GB, free: 27.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006386/0.5589, allocations: 484.1 kB / 0.5077 GB, free: 26.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.5589, allocations: 9.031 kB / 0.5077 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.559, allocations: 13.38 kB / 0.5077 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.559, allocations: 16.33 kB / 0.5078 GB, free: 26.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5593, allocations: 107.5 kB / 0.5079 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.5593, allocations: 20.61 kB / 0.5079 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.5595, allocations: 53 kB / 0.5079 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/0.5596, allocations: 33.97 kB / 0.508 GB, free: 26.92 MB / 446.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.0001398/0.5597, allocations: 186.9 kB / 0.5081 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.5598, allocations: 51.22 kB / 0.5082 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005728/0.5604, allocations: 392.4 kB / 0.5086 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.5604, allocations: 8.531 kB / 0.5086 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5604, allocations: 0 / 0.5086 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5604, allocations: 0 / 0.5086 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.561, allocations: 0.6214 MB / 0.5092 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.561, allocations: 1.469 kB / 0.5092 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.359e-05/0.561, allocations: 13.67 kB / 0.5092 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.561, allocations: 1.469 kB / 0.5092 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.561, allocations: 7.062 kB / 0.5092 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.561, allocations: 5.5 kB / 0.5092 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.561, allocations: 1.594 kB / 0.5092 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.5612, allocations: 193.2 kB / 0.5094 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.856e-05/0.5613, allocations: 44.22 kB / 0.5094 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.5613, allocations: 19.52 kB / 0.5095 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.5615, allocations: 2.25 kB / 0.5095 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.5615, allocations: 7.25 kB / 0.5095 GB, free: 25.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.5615, allocations: 3.062 kB / 0.5095 GB, free: 25.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003089/0.5618, allocations: 360.9 kB / 0.5098 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5618, allocations: 4 kB / 0.5098 GB, free: 25.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007442/0.5625, allocations: 258.7 kB / 0.5101 GB, free: 25.56 MB / 446.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.000495/0.563, allocations: 413.4 kB / 0.5105 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.5634, allocations: 222.6 kB / 0.5107 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5634, allocations: 3.312 kB / 0.5107 GB, free: 25.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.5634, allocations: 36.75 kB / 0.5107 GB, free: 25.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.5639, allocations: 105.7 kB / 0.5108 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008299/0.5647, allocations: 0.6737 MB / 0.5115 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.5649, allocations: 214.9 kB / 0.5117 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000298/0.5652, allocations: 125.4 kB / 0.5118 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.343e-05/0.5652, allocations: 56.44 kB / 0.5118 GB, free: 24.63 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5653, allocations: 5.406 kB / 0.5118 GB, free: 24.63 MB / 446.1 MB Notification: Performance of Templates: time 0.01171/0.577, allocations: 8.213 MB / 0.5199 GB, free: 23.62 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.833063011057675] Failed to read output from testmodel.py, exit status != 0: 0.5844810190610588 0.593621944 0.0441915 Calling exit ...