Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.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: 81.55 kB / 19.76 MB, free: 2.027 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.001663/0.001663, allocations: 158.9 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.332/1.332, allocations: 177.2 MB / 203.4 MB, free: 8.965 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.1166/0.1166, allocations: 17.36 MB / 277.1 MB, free: 15.27 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_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [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.001979/0.001979, allocations: 79.81 kB / 412.4 MB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1204, allocations: 59.85 MB / 472.3 MB, free: 9.754 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_Get_DfG): time 0.4292/0.5496, allocations: 23.84 MB / 496.1 MB, free: 39.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.5547, allocations: 5.563 MB / 0.4899 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.555, allocations: 14.22 kB / 0.49 GB, free: 36.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.5554, allocations: 144.6 kB / 0.4901 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005202/0.5559, allocations: 252.5 kB / 0.4903 GB, free: 36.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.5576, allocations: 0.9872 MB / 0.4913 GB, free: 35.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004725/0.5581, allocations: 0.5106 MB / 0.4918 GB, free: 35.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.5583, allocations: 172.1 kB / 0.492 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.5585, allocations: 247.9 kB / 0.4922 GB, free: 35.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.5588, allocations: 250.7 kB / 0.4924 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.5589, allocations: 27.78 kB / 0.4925 GB, free: 35.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009171/0.5598, allocations: 0.5253 MB / 0.493 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.744e-05/0.5599, allocations: 95.98 kB / 0.4931 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.56, allocations: 167.7 kB / 0.4932 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.5611, allocations: 1.081 MB / 0.4943 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5611, allocations: 4 kB / 0.4943 GB, free: 34.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5611, allocations: 0 / 0.4943 GB, free: 34.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5611, allocations: 0 / 0.4943 GB, free: 34.98 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0008195/0.5619, allocations: 0.731 MB / 0.495 GB, free: 34.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.562, allocations: 6.5 kB / 0.495 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.5625, allocations: 116.4 kB / 0.4951 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.5629, allocations: 340.1 kB / 0.4954 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.5629, allocations: 20.97 kB / 0.4955 GB, free: 34.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.5629, allocations: 29.34 kB / 0.4955 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004999/0.5634, allocations: 447.3 kB / 0.4959 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5635, allocations: 0 / 0.4959 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.362e-05/0.5635, allocations: 15.19 kB / 0.4959 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.5635, allocations: 9.25 kB / 0.4959 GB, free: 33.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006679/0.5642, allocations: 0.5757 MB / 0.4965 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.5658, allocations: 1.605 MB / 0.4981 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.5661, allocations: 136.4 kB / 0.4982 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.5662, allocations: 76.31 kB / 0.4983 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.5678, allocations: 0.911 MB / 0.4992 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.5678, allocations: 32.16 kB / 0.4992 GB, free: 31.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.5678, allocations: 0.5312 kB / 0.4992 GB, free: 31.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000369/0.5682, allocations: 186.1 kB / 0.4994 GB, free: 31.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.5682, allocations: 56.44 kB / 0.4994 GB, free: 31.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003337/0.5686, allocations: 408.9 kB / 0.4998 GB, free: 31.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.5686, allocations: 25.7 kB / 0.4998 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.5687, allocations: 281.5 kB / 0.5001 GB, free: 31.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.5687, allocations: 33.59 kB / 0.5001 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.5688, allocations: 80.92 kB / 0.5002 GB, free: 31.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.5688, allocations: 346 kB / 0.5005 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.5689, allocations: 63.94 kB / 0.5006 GB, free: 30.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.5691, allocations: 298.3 kB / 0.5009 GB, free: 30.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.5695, allocations: 385.4 kB / 0.5013 GB, free: 30.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.5695, allocations: 2.781 kB / 0.5013 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005201/0.57, allocations: 385.6 kB / 0.5016 GB, free: 30.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.57, allocations: 8.125 kB / 0.5016 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.57, allocations: 7.969 kB / 0.5016 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.57, allocations: 10.34 kB / 0.5017 GB, free: 30.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.5703, allocations: 93.22 kB / 0.5017 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.5703, allocations: 14.06 kB / 0.5018 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.5705, allocations: 45.64 kB / 0.5018 GB, free: 30.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.071e-05/0.5706, allocations: 27 kB / 0.5018 GB, free: 30.04 MB / 446.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 (38): * Single equations (assignments): 38 * 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.0001204/0.5707, allocations: 162.6 kB / 0.502 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.5708, allocations: 35.3 kB / 0.502 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.5711, allocations: 242.3 kB / 0.5022 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5711, allocations: 0 / 0.5022 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5711, allocations: 5.156 kB / 0.5023 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5711, allocations: 3.938 kB / 0.5023 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.5715, allocations: 461.9 kB / 0.5027 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5715, allocations: 1.281 kB / 0.5027 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.5715, allocations: 4.578 kB / 0.5027 GB, free: 29.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.5715, allocations: 5.25 kB / 0.5027 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.5715, allocations: 0 / 0.5027 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5715, allocations: 3.938 kB / 0.5027 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5715, allocations: 1.219 kB / 0.5027 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.5716, allocations: 106.6 kB / 0.5028 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.721e-05/0.5717, allocations: 31.95 kB / 0.5028 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.5717, allocations: 9.016 kB / 0.5029 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.5718, allocations: 9.031 kB / 0.5029 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.5718, allocations: 1.062 kB / 0.5029 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.5718, allocations: 0 / 0.5029 GB, free: 29.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.5721, allocations: 309.8 kB / 0.5032 GB, free: 29.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5721, allocations: 0 / 0.5032 GB, free: 29.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005385/0.5726, allocations: 189.4 kB / 0.5033 GB, free: 28.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004098/0.573, allocations: 294.1 kB / 0.5036 GB, free: 28.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.5733, allocations: 159.1 kB / 0.5038 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5733, allocations: 1.375 kB / 0.5038 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.5733, allocations: 7.547 kB / 0.5038 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.5737, allocations: 91.31 kB / 0.5039 GB, free: 28.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.5744, allocations: 0.5404 MB / 0.5044 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.5746, allocations: 177.9 kB / 0.5046 GB, free: 28.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002301/0.5748, allocations: 99.67 kB / 0.5047 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.5749, allocations: 43.67 kB / 0.5047 GB, free: 28.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5749, allocations: 0 / 0.5047 GB, free: 28.27 MB / 446.1 MB Notification: Performance of Templates: time 0.01171/0.5866, allocations: 6.125 MB / 0.5107 GB, free: 27.49 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.722339182044379] Failed to read output from testmodel.py, exit status != 0: 0.5940451089991257 0.60463225 0.041136231 Calling exit ...