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.0018/0.0018, allocations: 95.77 kB / 18.95 MB, free: 2.844 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.002152/0.002152, allocations: 223.2 kB / 22.24 MB, free: 5.105 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.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.832 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.1316/0.1316, allocations: 23.93 MB / 336.4 MB, free: 10.94 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) [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.00197/0.00197, allocations: 67.91 kB / 471.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3167, allocations: 59.88 MB / 0.5186 GB, free: 9.562 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.0664/0.3831, allocations: 23.81 MB / 0.5419 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007907/0.391, allocations: 5.563 MB / 0.5473 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004153/0.3914, allocations: 11.88 kB / 0.5473 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005504/0.392, allocations: 148.7 kB / 0.5474 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.3927, allocations: 252.1 kB / 0.5477 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.3954, allocations: 0.9812 MB / 0.5486 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.3962, allocations: 0.5033 MB / 0.5491 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.3965, allocations: 171.2 kB / 0.5493 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002813/0.3968, allocations: 247 kB / 0.5495 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.3972, allocations: 277.7 kB / 0.5498 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.951e-05/0.3973, allocations: 28 kB / 0.5498 GB, free: 8.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3985, allocations: 0.5366 MB / 0.5503 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.3987, allocations: 102.5 kB / 0.5504 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.3989, allocations: 162.6 kB / 0.5506 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.4005, allocations: 1.09 MB / 0.5517 GB, free: 6.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4005, allocations: 0.7031 kB / 0.5517 GB, free: 6.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4005, allocations: 0 / 0.5517 GB, free: 6.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4005, allocations: 0 / 0.5517 GB, free: 6.625 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.001249/0.4017, allocations: 0.7346 MB / 0.5524 GB, free: 5.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4018, allocations: 12.03 kB / 0.5524 GB, free: 5.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.4019, allocations: 61.55 kB / 0.5525 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000523/0.4024, allocations: 114.8 kB / 0.5526 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006027/0.403, allocations: 332.3 kB / 0.5529 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.403, allocations: 20.97 kB / 0.5529 GB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.618e-05/0.4031, allocations: 27.94 kB / 0.5529 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.4038, allocations: 443.3 kB / 0.5534 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.4038, allocations: 4 kB / 0.5534 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.4038, allocations: 8 kB / 0.5534 GB, free: 4.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4038, allocations: 8 kB / 0.5534 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.4047, allocations: 0.5698 MB / 0.5539 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.4071, allocations: 1.676 MB / 0.5556 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.4074, allocations: 132 kB / 0.5557 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.4076, allocations: 80.91 kB / 0.5558 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/0.4095, allocations: 0.9183 MB / 0.5567 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.4096, allocations: 35.12 kB / 0.5567 GB, free: 1.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4096, allocations: 0 / 0.5567 GB, free: 1.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004142/0.41, allocations: 190.3 kB / 0.5569 GB, free: 1.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.41, allocations: 56.09 kB / 0.5569 GB, free: 1.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.4106, allocations: 443.6 kB / 0.5574 GB, free: 1.203 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4106, allocations: 33.7 kB / 0.5574 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.4108, allocations: 270.3 kB / 0.5576 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.4108, allocations: 32.02 kB / 0.5577 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.411, allocations: 79.81 kB / 0.5578 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4111, allocations: 347.4 kB / 0.5581 GB, free: 484 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.4113, allocations: 74.77 kB / 0.5582 GB, free: 420 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.4116, allocations: 281.9 kB / 0.5584 GB, free: 44 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.4121, allocations: 393.4 kB / 0.5588 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4121, allocations: 0 / 0.5588 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006684/0.4127, allocations: 393.2 kB / 0.5592 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4128, allocations: 8.656 kB / 0.5592 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4128, allocations: 8 kB / 0.5592 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/0.4128, allocations: 16.03 kB / 0.5592 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.4131, allocations: 91.59 kB / 0.5593 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/0.4131, allocations: 13.77 kB / 0.5593 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.4134, allocations: 44.47 kB / 0.5593 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.4134, allocations: 32.64 kB / 0.5594 GB, free: 15.02 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.0001821/0.4136, allocations: 160.9 kB / 0.5595 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.4137, allocations: 43.72 kB / 0.5596 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.4141, allocations: 240.8 kB / 0.5598 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4141, allocations: 3.938 kB / 0.5598 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4141, allocations: 0 / 0.5598 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4141, allocations: 0.6094 kB / 0.5598 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006267/0.4147, allocations: 0.4928 MB / 0.5603 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4147, allocations: 0 / 0.5603 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.465e-05/0.4148, allocations: 4.641 kB / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.4148, allocations: 8.578 kB / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4148, allocations: 0 / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4148, allocations: 0 / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4148, allocations: 0.6562 kB / 0.5603 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.4149, allocations: 113.9 kB / 0.5604 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/0.415, allocations: 42.47 kB / 0.5605 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.942e-05/0.4151, allocations: 0.6562 kB / 0.5605 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.4152, allocations: 4.938 kB / 0.5605 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.4152, allocations: 4.031 kB / 0.5605 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4152, allocations: 0.7031 kB / 0.5605 GB, free: 13.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004321/0.4156, allocations: 364.2 kB / 0.5608 GB, free: 13.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4156, allocations: 3.938 kB / 0.5608 GB, free: 13.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006133/0.4162, allocations: 183.5 kB / 0.561 GB, free: 13.4 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.000904/0.4171, allocations: 0.842 MB / 0.5618 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.4175, allocations: 162.7 kB / 0.562 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4175, allocations: 0 / 0.562 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.4175, allocations: 10.02 kB / 0.562 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.418, allocations: 93.17 kB / 0.5621 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.4224, allocations: 3.474 MB / 0.5655 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.4225, allocations: 176.3 kB / 0.5656 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003162/0.4228, allocations: 105.5 kB / 0.5657 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.423, allocations: 133.4 kB / 0.5659 GB, free: 8.461 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.423, allocations: 0 / 0.5659 GB, free: 8.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.4655, allocations: 11.47 MB / 0.5771 GB, free: 13.25 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.3, allocations: 7.047 kB / 0.5771 GB, free: 13.25 MB / 430.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 Chemical_master_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.033714849007083] Failed to read output from testmodel.py, exit status != 0: 11.407120908988873 11.431583423 11.026696803 Calling exit ...