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.001905/0.001905, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.002303/0.002303, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.142/0.142, allocations: 23.88 MB / 332.7 MB, free: 12.32 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.00205/0.00205, allocations: 64.19 kB / 466.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3342, allocations: 59.83 MB / 0.514 GB, free: 9.133 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.03636/0.3705, allocations: 23.94 MB / 0.5374 GB, free: 320 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00869/0.3792, allocations: 6.35 MB / 0.5436 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003958/0.3796, allocations: 11.88 kB / 0.5436 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.3802, allocations: 152.2 kB / 0.5438 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000724/0.3809, allocations: 253.4 kB / 0.544 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.3835, allocations: 0.9742 MB / 0.545 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008049/0.3843, allocations: 0.5151 MB / 0.5455 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.3846, allocations: 178.2 kB / 0.5456 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3849, allocations: 247.4 kB / 0.5459 GB, free: 8.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.3853, allocations: 273 kB / 0.5461 GB, free: 8.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/0.3854, allocations: 28 kB / 0.5462 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.3869, allocations: 0.5596 MB / 0.5467 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.387, allocations: 100.2 kB / 0.5468 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.3873, allocations: 204 kB / 0.547 GB, free: 7.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3891, allocations: 1.081 MB / 0.548 GB, free: 6.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3891, allocations: 3.938 kB / 0.548 GB, free: 6.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3891, allocations: 4 kB / 0.5481 GB, free: 6.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.697e-06/0.3891, allocations: 0 / 0.5481 GB, free: 6.719 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.001248/0.3903, allocations: 0.8063 MB / 0.5488 GB, free: 5.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3904, allocations: 12.78 kB / 0.5489 GB, free: 5.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.391, allocations: 114 kB / 0.549 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005986/0.3916, allocations: 401.5 kB / 0.5493 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.3916, allocations: 16.94 kB / 0.5494 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.3917, allocations: 28.12 kB / 0.5494 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/0.3924, allocations: 445.9 kB / 0.5498 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3924, allocations: 0 / 0.5498 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.578e-05/0.3924, allocations: 12 kB / 0.5498 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3924, allocations: 7.938 kB / 0.5498 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.3934, allocations: 0.5892 MB / 0.5504 GB, free: 4.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.3959, allocations: 1.761 MB / 0.5521 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.3962, allocations: 135.2 kB / 0.5523 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.3964, allocations: 76.97 kB / 0.5523 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002503/0.3989, allocations: 1.873 MB / 0.5542 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.3989, allocations: 39.08 kB / 0.5542 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3989, allocations: 0 / 0.5542 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004563/0.3994, allocations: 190.1 kB / 0.5544 GB, free: 460 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3994, allocations: 60.03 kB / 0.5544 GB, free: 388 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005706/0.4, allocations: 434.4 kB / 0.5548 GB, free: 0 / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.4, allocations: 29.83 kB / 0.5549 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.4002, allocations: 270.9 kB / 0.5551 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.4003, allocations: 39.73 kB / 0.5552 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4004, allocations: 79.38 kB / 0.5552 GB, free: 15.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4006, allocations: 355.6 kB / 0.5556 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.4007, allocations: 66.81 kB / 0.5556 GB, free: 15.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.401, allocations: 286.1 kB / 0.5559 GB, free: 14.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.4015, allocations: 380.5 kB / 0.5563 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4015, allocations: 4 kB / 0.5563 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006717/0.4022, allocations: 394.2 kB / 0.5567 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4022, allocations: 8 kB / 0.5567 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4022, allocations: 8.609 kB / 0.5567 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.4023, allocations: 12 kB / 0.5567 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.4026, allocations: 87.08 kB / 0.5568 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.4026, allocations: 21.75 kB / 0.5568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.4029, allocations: 48.42 kB / 0.5568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.4029, allocations: 25.45 kB / 0.5569 GB, free: 13.81 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.0001808/0.4031, allocations: 164.6 kB / 0.557 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.4032, allocations: 43.66 kB / 0.5571 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004948/0.4037, allocations: 236.2 kB / 0.5573 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4037, allocations: 0.7031 kB / 0.5573 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4037, allocations: 3.938 kB / 0.5573 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4037, allocations: 4.031 kB / 0.5573 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.4043, allocations: 0.5409 MB / 0.5578 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4043, allocations: 0 / 0.5578 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.4043, allocations: 4 kB / 0.5578 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.4043, allocations: 4.641 kB / 0.5578 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.4043, allocations: 0 / 0.5578 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4043, allocations: 0 / 0.5578 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4043, allocations: 0 / 0.5578 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.4045, allocations: 110 kB / 0.5579 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.4046, allocations: 124.4 kB / 0.5581 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.4047, allocations: 0 / 0.5581 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.801e-05/0.4048, allocations: 0.6562 kB / 0.5581 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.4048, allocations: 4.703 kB / 0.5581 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4048, allocations: 7.984 kB / 0.5581 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004578/0.4052, allocations: 360.6 kB / 0.5584 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4052, allocations: 3.938 kB / 0.5584 GB, free: 12.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.4059, allocations: 183.7 kB / 0.5586 GB, free: 12.06 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.0005413/0.4064, allocations: 300.2 kB / 0.5589 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.4067, allocations: 151.2 kB / 0.559 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4067, allocations: 4.062 kB / 0.559 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.4067, allocations: 5.406 kB / 0.559 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.4073, allocations: 98.52 kB / 0.5591 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000948/0.4082, allocations: 0.5462 MB / 0.5597 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.4087, allocations: 0.7823 MB / 0.5604 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000296/0.409, allocations: 100.9 kB / 0.5605 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.4091, allocations: 39.98 kB / 0.5606 GB, free: 10.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.4091, allocations: 0 / 0.5606 GB, free: 10.14 MB / 414.1 MB Notification: Performance of Templates: time 0.01276/0.4218, allocations: 6.547 MB / 0.567 GB, free: 4.117 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: 5.076583281159401] Failed to read output from testmodel.py, exit status != 0: 0.43031486170366406 0.44398795300000005 0.051943918000000006 Calling exit ...