Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 198.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08325/0.08325, allocations: 15.54 MB / 318.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] 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.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.14 kB / 446.1 MB, free: 47.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08063/0.08252, allocations: 56.55 MB / 0.4909 GB, free: 20.61 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019: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 1.4.1-master/package.mo:3019:6-3019: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.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG): time 0.02582/0.1083, allocations: 23.68 MB / 0.514 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008131/0.1165, allocations: 6.304 MB / 0.5201 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.1168, allocations: 7.938 kB / 0.5201 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.1173, allocations: 162.8 kB / 0.5203 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000632/0.1179, allocations: 258 kB / 0.5205 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002173/0.1201, allocations: 0.9704 MB / 0.5215 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006448/0.1208, allocations: 0.5098 MB / 0.522 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/0.121, allocations: 176.8 kB / 0.5222 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.1213, allocations: 235.3 kB / 0.5224 GB, free: 7.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003999/0.1217, allocations: 271 kB / 0.5226 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.596e-05/0.1218, allocations: 32 kB / 0.5227 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.1231, allocations: 0.5538 MB / 0.5232 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.1232, allocations: 103.7 kB / 0.5233 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.1235, allocations: 210.9 kB / 0.5235 GB, free: 6.094 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.1251, allocations: 1.07 MB / 0.5246 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1251, allocations: 0 / 0.5246 GB, free: 5.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1251, allocations: 0 / 0.5246 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1251, allocations: 0 / 0.5246 GB, free: 5.016 MB / 382.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.001218/0.1263, allocations: 0.809 MB / 0.5253 GB, free: 4.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1263, allocations: 12.03 kB / 0.5254 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.1269, allocations: 116.3 kB / 0.5255 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005491/0.1274, allocations: 388.1 kB / 0.5258 GB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1275, allocations: 24.94 kB / 0.5259 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.1275, allocations: 28.12 kB / 0.5259 GB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.1282, allocations: 450.1 kB / 0.5263 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1282, allocations: 0 / 0.5263 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.269e-05/0.1283, allocations: 12 kB / 0.5263 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1283, allocations: 4 kB / 0.5263 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009172/0.1292, allocations: 0.5833 MB / 0.5269 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/0.1316, allocations: 1.753 MB / 0.5286 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.1319, allocations: 134.5 kB / 0.5287 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.132, allocations: 80.77 kB / 0.5288 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002384/0.1344, allocations: 1.88 MB / 0.5307 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1345, allocations: 34.56 kB / 0.5307 GB, free: 14.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1345, allocations: 0 / 0.5307 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004235/0.1349, allocations: 185.4 kB / 0.5309 GB, free: 14.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1349, allocations: 55.53 kB / 0.5309 GB, free: 14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.1354, allocations: 437.8 kB / 0.5313 GB, free: 13.56 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1355, allocations: 29.7 kB / 0.5314 GB, free: 13.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.1357, allocations: 267.6 kB / 0.5316 GB, free: 13.26 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1357, allocations: 35.73 kB / 0.5317 GB, free: 13.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1358, allocations: 73.64 kB / 0.5317 GB, free: 13.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.136, allocations: 354.8 kB / 0.5321 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1361, allocations: 63.95 kB / 0.5321 GB, free: 12.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.1364, allocations: 294.1 kB / 0.5324 GB, free: 12.33 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.1369, allocations: 389.5 kB / 0.5328 GB, free: 11.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.1369, allocations: 8 kB / 0.5328 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006436/0.1376, allocations: 393 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1376, allocations: 8 kB / 0.5332 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.1376, allocations: 11.94 kB / 0.5332 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.1376, allocations: 8 kB / 0.5332 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.1379, allocations: 87.89 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.1379, allocations: 20.47 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.1382, allocations: 51.67 kB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.1382, allocations: 23.98 kB / 0.5334 GB, free: 11.24 MB / 398.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.0001782/0.1384, allocations: 173.6 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.1385, allocations: 39.72 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.1389, allocations: 239.6 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1389, allocations: 4 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1389, allocations: 3.938 kB / 0.5338 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.139, allocations: 4.031 kB / 0.5338 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.1395, allocations: 0.5336 MB / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1395, allocations: 0 / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.1396, allocations: 0 / 0.5343 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1396, allocations: 8 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.1396, allocations: 4.375 kB / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1396, allocations: 0 / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1396, allocations: 0 / 0.5343 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1397, allocations: 108.8 kB / 0.5344 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.1398, allocations: 124.7 kB / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.1399, allocations: 0 / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.374e-05/0.14, allocations: 0 / 0.5346 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.14, allocations: 4.031 kB / 0.5346 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.14, allocations: 4 kB / 0.5346 GB, free: 9.863 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004229/0.1404, allocations: 362.8 kB / 0.5349 GB, free: 9.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1404, allocations: 0 / 0.5349 GB, free: 9.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.141, allocations: 183.3 kB / 0.5351 GB, free: 9.328 MB / 398.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.0005112/0.1415, allocations: 298.4 kB / 0.5354 GB, free: 9.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.1418, allocations: 161.2 kB / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1418, allocations: 0 / 0.5355 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.1418, allocations: 7.938 kB / 0.5355 GB, free: 8.863 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004995/0.1423, allocations: 91.89 kB / 0.5356 GB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.1433, allocations: 0.5783 MB / 0.5362 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.1437, allocations: 0.7794 MB / 0.537 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.1438, allocations: 63.41 kB / 0.537 GB, free: 7.293 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1438, allocations: 4 kB / 0.537 GB, free: 7.289 MB / 398.1 MB Notification: Performance of Templates: time 0.009409/0.1532, allocations: 6.158 MB / 0.543 GB, free: 1.152 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4719967970158905] Failed to read output from testmodel.py, exit status != 0: 0.3316825220827013 0.17406611000000002 0.046183576000000004 Calling exit ...