Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001977/0.001977, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001959/0.001959, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.781 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.1435/0.1435, allocations: 23.99 MB / 336.4 MB, free: 10.83 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_Get_DfG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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_master_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.002017/0.002017, allocations: 67.91 kB / 471.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 59.9 MB / 0.5192 GB, free: 9.758 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_Get_DfG): time 0.07997/0.3844, allocations: 23.89 MB / 0.5426 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007905/0.3923, allocations: 5.556 MB / 0.548 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/0.3926, allocations: 11.88 kB / 0.548 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.3931, allocations: 139.8 kB / 0.5481 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.3938, allocations: 260 kB / 0.5484 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.3961, allocations: 0.9818 MB / 0.5493 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007101/0.3968, allocations: 0.5074 MB / 0.5498 GB, free: 8.664 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003017/0.3971, allocations: 166.6 kB / 0.55 GB, free: 8.535 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.3975, allocations: 251.5 kB / 0.5502 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.3978, allocations: 258.4 kB / 0.5505 GB, free: 8.105 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.3979, allocations: 31.94 kB / 0.5505 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.3991, allocations: 0.5173 MB / 0.551 GB, free: 7.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3992, allocations: 104.5 kB / 0.5511 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.3994, allocations: 167.5 kB / 0.5513 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.401, allocations: 1.079 MB / 0.5523 GB, free: 6.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.401, allocations: 0 / 0.5523 GB, free: 6.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.401, allocations: 0 / 0.5523 GB, free: 6.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.401, allocations: 4 kB / 0.5523 GB, free: 6.465 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001166/0.4022, allocations: 0.7313 MB / 0.553 GB, free: 5.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4022, allocations: 8.031 kB / 0.553 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.4027, allocations: 114.6 kB / 0.5532 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006143/0.4033, allocations: 336.1 kB / 0.5535 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.4034, allocations: 21.02 kB / 0.5535 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.4034, allocations: 32.12 kB / 0.5535 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.4042, allocations: 443.7 kB / 0.5539 GB, free: 4.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4042, allocations: 7.875 kB / 0.554 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.4042, allocations: 12.75 kB / 0.554 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.4042, allocations: 4 kB / 0.554 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009113/0.4051, allocations: 0.5688 MB / 0.5545 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.4075, allocations: 1.631 MB / 0.5561 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.4078, allocations: 128.5 kB / 0.5562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.4079, allocations: 76.92 kB / 0.5563 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001905/0.4098, allocations: 0.9058 MB / 0.5572 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.4099, allocations: 35.16 kB / 0.5572 GB, free: 1.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4099, allocations: 3.938 kB / 0.5572 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004167/0.4103, allocations: 182.3 kB / 0.5574 GB, free: 1.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4103, allocations: 56.02 kB / 0.5575 GB, free: 1.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.4108, allocations: 408.4 kB / 0.5579 GB, free: 1.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4108, allocations: 25.7 kB / 0.5579 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.411, allocations: 276 kB / 0.5581 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.389e-05/0.4111, allocations: 31.73 kB / 0.5582 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.4112, allocations: 87.48 kB / 0.5583 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4114, allocations: 346 kB / 0.5586 GB, free: 480 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.4115, allocations: 70.86 kB / 0.5587 GB, free: 420 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.4118, allocations: 286 kB / 0.5589 GB, free: 40 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.4123, allocations: 388.8 kB / 0.5593 GB, free: 15.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4123, allocations: 0 / 0.5593 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006024/0.4129, allocations: 381.4 kB / 0.5597 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.4129, allocations: 8 kB / 0.5597 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.4129, allocations: 9.641 kB / 0.5597 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.4129, allocations: 8 kB / 0.5597 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.4132, allocations: 94.94 kB / 0.5598 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.4132, allocations: 18.14 kB / 0.5598 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.4134, allocations: 48.19 kB / 0.5598 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/0.4135, allocations: 21.41 kB / 0.5599 GB, free: 15.03 MB / 414.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.0001697/0.4137, allocations: 168.2 kB / 0.56 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.4137, allocations: 32.33 kB / 0.56 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.4141, allocations: 239.1 kB / 0.5603 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4142, allocations: 9.016 kB / 0.5603 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4142, allocations: 0 / 0.5603 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4142, allocations: 3.938 kB / 0.5603 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.4147, allocations: 461.8 kB / 0.5607 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4147, allocations: 3.938 kB / 0.5607 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.127e-05/0.4147, allocations: 1.406 kB / 0.5607 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4147, allocations: 4 kB / 0.5607 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.4147, allocations: 4.062 kB / 0.5607 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.4147, allocations: 7.938 kB / 0.5608 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4147, allocations: 0.6562 kB / 0.5608 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4149, allocations: 105.7 kB / 0.5609 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.4149, allocations: 25.78 kB / 0.5609 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.415, allocations: 12.52 kB / 0.5609 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.483e-05/0.4151, allocations: 7.938 kB / 0.5609 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.017e-05/0.4151, allocations: 8.547 kB / 0.5609 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4151, allocations: 0.7031 kB / 0.5609 GB, free: 13.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.4154, allocations: 309 kB / 0.5612 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4154, allocations: 0 / 0.5612 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006054/0.416, allocations: 187.6 kB / 0.5614 GB, free: 13.52 MB / 414.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.0005136/0.4166, allocations: 292.6 kB / 0.5617 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003024/0.4169, allocations: 154.9 kB / 0.5618 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4169, allocations: 256 / 0.5618 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-05/0.4169, allocations: 14.3 kB / 0.5618 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.4173, allocations: 69.48 kB / 0.5619 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008643/0.4182, allocations: 0.5508 MB / 0.5624 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.4184, allocations: 180.4 kB / 0.5626 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002524/0.4186, allocations: 95.17 kB / 0.5627 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.4187, allocations: 40.12 kB / 0.5627 GB, free: 12.23 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4187, allocations: 4 kB / 0.5627 GB, free: 12.23 MB / 414.1 MB Notification: Performance of Templates: time 0.01185/0.4305, allocations: 6.595 MB / 0.5692 GB, free: 6.008 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.849418571218848] Failed to read output from testmodel.py, exit status != 0: 0.43888290226459503 0.453446323 0.049448748 Calling exit ...