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.001363/0.001363, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.0017/0.0017, allocations: 214.4 kB / 22.99 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.1375/0.1375, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002446/0.002446, allocations: 67.91 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3154, allocations: 59.86 MB / 0.5198 GB, free: 9.777 MB / 382.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.06797/0.3834, allocations: 23.88 MB / 0.5431 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008155/0.3915, allocations: 5.559 MB / 0.5485 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.3919, allocations: 15.88 kB / 0.5485 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.3924, allocations: 144.5 kB / 0.5487 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.393, allocations: 247.3 kB / 0.5489 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.3954, allocations: 0.9862 MB / 0.5499 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007183/0.3961, allocations: 0.5111 MB / 0.5504 GB, free: 8.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002983/0.3964, allocations: 166.6 kB / 0.5505 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.3967, allocations: 251.5 kB / 0.5508 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.3971, allocations: 249.1 kB / 0.551 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.577e-05/0.3972, allocations: 28 kB / 0.551 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.3983, allocations: 0.5258 MB / 0.5515 GB, free: 7.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.3985, allocations: 100.6 kB / 0.5516 GB, free: 7.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3987, allocations: 172.1 kB / 0.5518 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.4002, allocations: 1.089 MB / 0.5529 GB, free: 6.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4002, allocations: 0 / 0.5529 GB, free: 6.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4002, allocations: 4 kB / 0.5529 GB, free: 6.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4003, allocations: 0 / 0.5529 GB, free: 6.676 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.001184/0.4014, allocations: 0.729 MB / 0.5536 GB, free: 5.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4015, allocations: 8.547 kB / 0.5536 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005409/0.402, allocations: 122 kB / 0.5537 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.4027, allocations: 335.9 kB / 0.554 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.4027, allocations: 21.03 kB / 0.554 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.939e-05/0.4027, allocations: 28.12 kB / 0.5541 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007388/0.4035, allocations: 443.9 kB / 0.5545 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4035, allocations: 0 / 0.5545 GB, free: 5.109 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.4035, allocations: 12.7 kB / 0.5545 GB, free: 5.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.4035, allocations: 12 kB / 0.5545 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009305/0.4045, allocations: 0.5689 MB / 0.5551 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.4068, allocations: 1.62 MB / 0.5566 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.4072, allocations: 144.4 kB / 0.5568 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.4073, allocations: 79.31 kB / 0.5569 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/0.4092, allocations: 0.9021 MB / 0.5577 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4093, allocations: 35.31 kB / 0.5578 GB, free: 2.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.4093, allocations: 0 / 0.5578 GB, free: 2.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004155/0.4097, allocations: 185.6 kB / 0.558 GB, free: 1.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.4097, allocations: 52.02 kB / 0.558 GB, free: 1.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004972/0.4102, allocations: 412.7 kB / 0.5584 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4102, allocations: 25.7 kB / 0.5584 GB, free: 1.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.4105, allocations: 275.6 kB / 0.5587 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.4105, allocations: 31.73 kB / 0.5587 GB, free: 1.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.4106, allocations: 80.14 kB / 0.5588 GB, free: 1.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.4108, allocations: 345.5 kB / 0.5591 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.411, allocations: 71.11 kB / 0.5592 GB, free: 0.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/0.4113, allocations: 290 kB / 0.5595 GB, free: 256 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.4118, allocations: 392.7 kB / 0.5598 GB, free: 15.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4118, allocations: 4 kB / 0.5598 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006282/0.4124, allocations: 382 kB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4125, allocations: 8 kB / 0.5602 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4125, allocations: 8.516 kB / 0.5602 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4125, allocations: 12 kB / 0.5602 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.4128, allocations: 91.45 kB / 0.5603 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.4128, allocations: 10.25 kB / 0.5603 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.413, allocations: 43.67 kB / 0.5604 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.4131, allocations: 29.27 kB / 0.5604 GB, free: 15.24 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.000179/0.4133, allocations: 160.6 kB / 0.5606 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/0.4133, allocations: 36.41 kB / 0.5606 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.4138, allocations: 246.8 kB / 0.5608 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4138, allocations: 0.7031 kB / 0.5608 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4138, allocations: 0 / 0.5608 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4138, allocations: 3.938 kB / 0.5608 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005699/0.4144, allocations: 461.9 kB / 0.5613 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4144, allocations: 4.062 kB / 0.5613 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-05/0.4144, allocations: 5.172 kB / 0.5613 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4144, allocations: 0 / 0.5613 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.4144, allocations: 0 / 0.5613 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.4144, allocations: 12.62 kB / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4144, allocations: 0 / 0.5613 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.4146, allocations: 106.1 kB / 0.5614 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.4146, allocations: 25.88 kB / 0.5614 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.4147, allocations: 11.89 kB / 0.5614 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4148, allocations: 4.688 kB / 0.5614 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.4148, allocations: 5.156 kB / 0.5614 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.4148, allocations: 0 / 0.5614 GB, free: 14.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000388/0.4152, allocations: 312.9 kB / 0.5617 GB, free: 13.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4152, allocations: 0 / 0.5617 GB, free: 13.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.4157, allocations: 187.5 kB / 0.5619 GB, free: 13.73 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.0005087/0.4162, allocations: 301 kB / 0.5622 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.4166, allocations: 157.8 kB / 0.5624 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4166, allocations: 0 / 0.5624 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.4166, allocations: 14.06 kB / 0.5624 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.417, allocations: 70.73 kB / 0.5624 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.4179, allocations: 0.5717 MB / 0.563 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4181, allocations: 175.3 kB / 0.5632 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4183, allocations: 64.77 kB / 0.5632 GB, free: 12.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4183, allocations: 0 / 0.5632 GB, free: 12.47 MB / 414.1 MB Notification: Performance of Templates: time 0.009584/0.4279, allocations: 6.1 MB / 0.5692 GB, free: 6.711 MB / 414.1 MB " [Timeout remaining time 660] 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.943486644886434] Failed to read output from testmodel.py, exit status != 0: 0.4368708827532828 0.45099081500000004 0.047632292 Calling exit ...