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.001527/0.001527, allocations: 103.6 kB / 18.95 MB, free: 2.656 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.00167/0.00167, allocations: 219.6 kB / 22.25 MB, free: 5.258 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.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.793 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.1301/0.1301, allocations: 23.89 MB / 336.3 MB, free: 11.06 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG,fileNamePrefix="Chemical_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.001924/0.001924, allocations: 67.89 kB / 471.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.322, allocations: 59.86 MB / 0.5185 GB, free: 9.523 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.07703/0.399, allocations: 23.81 MB / 0.5418 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008059/0.4071, allocations: 5.563 MB / 0.5472 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004072/0.4075, allocations: 11.88 kB / 0.5472 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004951/0.408, allocations: 136.4 kB / 0.5474 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.4087, allocations: 267.5 kB / 0.5476 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.4112, allocations: 0.978 MB / 0.5486 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007094/0.4119, allocations: 0.5036 MB / 0.5491 GB, free: 8.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.4122, allocations: 171.2 kB / 0.5492 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/0.4125, allocations: 242.8 kB / 0.5495 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.4129, allocations: 282.7 kB / 0.5497 GB, free: 8.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.413, allocations: 32 kB / 0.5498 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.4141, allocations: 0.5322 MB / 0.5503 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.4143, allocations: 100.3 kB / 0.5504 GB, free: 7.738 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.4144, allocations: 164.5 kB / 0.5505 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.4159, allocations: 1.087 MB / 0.5516 GB, free: 6.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4159, allocations: 0 / 0.5516 GB, free: 6.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4159, allocations: 7.938 kB / 0.5516 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.416, allocations: 0 / 0.5516 GB, free: 6.672 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.0011/0.4171, allocations: 0.7319 MB / 0.5523 GB, free: 5.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4171, allocations: 8.031 kB / 0.5523 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.559e-05/0.4172, allocations: 63.94 kB / 0.5524 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000493/0.4177, allocations: 119.7 kB / 0.5525 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.4182, allocations: 334.6 kB / 0.5528 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.4182, allocations: 21.03 kB / 0.5528 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.4183, allocations: 27.94 kB / 0.5529 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.419, allocations: 452.2 kB / 0.5533 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.419, allocations: 0 / 0.5533 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.419, allocations: 12 kB / 0.5533 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.419, allocations: 11.98 kB / 0.5533 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/0.4199, allocations: 0.5692 MB / 0.5539 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.4222, allocations: 1.668 MB / 0.5555 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.4225, allocations: 128.3 kB / 0.5556 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4226, allocations: 87.31 kB / 0.5557 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001855/0.4245, allocations: 0.9151 MB / 0.5566 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.4245, allocations: 30.56 kB / 0.5566 GB, free: 1.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.4245, allocations: 0 / 0.5566 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004137/0.4249, allocations: 190.5 kB / 0.5568 GB, free: 1.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.425, allocations: 56.05 kB / 0.5569 GB, free: 1.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005213/0.4255, allocations: 443.9 kB / 0.5573 GB, free: 1.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.4255, allocations: 29.7 kB / 0.5573 GB, free: 1.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.4257, allocations: 270 kB / 0.5576 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.4258, allocations: 39.88 kB / 0.5576 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.4259, allocations: 75.86 kB / 0.5577 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.426, allocations: 347.8 kB / 0.558 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4262, allocations: 70.73 kB / 0.5581 GB, free: 472 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.4265, allocations: 285.3 kB / 0.5584 GB, free: 92 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.427, allocations: 397.4 kB / 0.5587 GB, free: 15.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.427, allocations: 4 kB / 0.5587 GB, free: 15.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006199/0.4276, allocations: 385 kB / 0.5591 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4276, allocations: 11.44 kB / 0.5591 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.4276, allocations: 8.797 kB / 0.5591 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4276, allocations: 8 kB / 0.5591 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.4279, allocations: 99.11 kB / 0.5592 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/0.4279, allocations: 17.81 kB / 0.5592 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.4282, allocations: 44.23 kB / 0.5593 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.4282, allocations: 28.84 kB / 0.5593 GB, free: 15.06 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.0001709/0.4284, allocations: 161.1 kB / 0.5595 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.4285, allocations: 40.09 kB / 0.5595 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.4289, allocations: 240.8 kB / 0.5597 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.4289, allocations: 7.875 kB / 0.5597 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4289, allocations: 0 / 0.5597 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4289, allocations: 4.594 kB / 0.5597 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.4295, allocations: 0.4886 MB / 0.5602 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4295, allocations: 0 / 0.5602 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.696e-05/0.4295, allocations: 8.734 kB / 0.5602 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.4295, allocations: 4.703 kB / 0.5602 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-06/0.4295, allocations: 4.109 kB / 0.5602 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4295, allocations: 0 / 0.5602 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4296, allocations: 3.984 kB / 0.5602 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.4297, allocations: 118 kB / 0.5604 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-05/0.4298, allocations: 38.98 kB / 0.5604 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.041e-05/0.4298, allocations: 4 kB / 0.5604 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.4299, allocations: 0.75 kB / 0.5604 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/0.4299, allocations: 1.125 kB / 0.5604 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.4299, allocations: 0 / 0.5604 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004505/0.4304, allocations: 363.9 kB / 0.5607 GB, free: 13.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4304, allocations: 4.031 kB / 0.5607 GB, free: 13.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.431, allocations: 180 kB / 0.5609 GB, free: 13.45 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.0009414/0.4319, allocations: 0.8373 MB / 0.5617 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.4323, allocations: 163.3 kB / 0.5619 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4323, allocations: 0 / 0.5619 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.4323, allocations: 13.59 kB / 0.5619 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.4328, allocations: 89.36 kB / 0.562 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/0.4372, allocations: 3.478 MB / 0.5654 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.4374, allocations: 180.7 kB / 0.5656 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.4377, allocations: 101.1 kB / 0.5657 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.4379, allocations: 129.5 kB / 0.5658 GB, free: 8.508 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4379, allocations: 0 / 0.5658 GB, free: 8.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.4784, allocations: 11.47 MB / 0.577 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.27, allocations: 17.81 kB / 0.577 GB, free: 13.33 MB / 430.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Chemical_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_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2_Get_DfG.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_Get_DfG.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.892109567008447] Failed to read output from testmodel.py, exit status != 0: 11.380085132987006 11.407961746 10.986889766 Calling exit ...