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.001974/0.001974, allocations: 107.7 kB / 16.45 MB, free: 6.5 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.002244/0.002244, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.1419/0.1419, allocations: 23.89 MB / 332.7 MB, free: 12.31 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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.002061/0.002061, allocations: 67.91 kB / 466 MB, free: 10.03 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3261, allocations: 59.82 MB / 0.5135 GB, free: 8.863 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.03554/0.3616, allocations: 23.9 MB / 0.5369 GB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008634/0.3702, allocations: 6.346 MB / 0.5431 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003707/0.3706, allocations: 11.88 kB / 0.5431 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.3712, allocations: 160.4 kB / 0.5432 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.3719, allocations: 249.4 kB / 0.5435 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.3745, allocations: 0.9738 MB / 0.5444 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008085/0.3753, allocations: 0.5113 MB / 0.5449 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.3757, allocations: 174.5 kB / 0.5451 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003055/0.376, allocations: 247.4 kB / 0.5453 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.3764, allocations: 269.5 kB / 0.5456 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.3764, allocations: 28 kB / 0.5456 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.378, allocations: 0.5634 MB / 0.5462 GB, free: 7.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3781, allocations: 96.02 kB / 0.5463 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.3783, allocations: 211.9 kB / 0.5465 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.3802, allocations: 1.086 MB / 0.5475 GB, free: 6.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3802, allocations: 0 / 0.5475 GB, free: 6.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3802, allocations: 0 / 0.5475 GB, free: 6.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.3802, allocations: 4 kB / 0.5475 GB, free: 6.754 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.001287/0.3815, allocations: 0.8062 MB / 0.5483 GB, free: 5.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3815, allocations: 12.03 kB / 0.5483 GB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.235e-05/0.3816, allocations: 61.22 kB / 0.5484 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.3822, allocations: 118.5 kB / 0.5485 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000684/0.3829, allocations: 409.1 kB / 0.5489 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3829, allocations: 20.94 kB / 0.5489 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-05/0.383, allocations: 27.94 kB / 0.5489 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.3837, allocations: 441.7 kB / 0.5493 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3837, allocations: 0 / 0.5493 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.3838, allocations: 12.7 kB / 0.5494 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3838, allocations: 8 kB / 0.5494 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3848, allocations: 0.5769 MB / 0.5499 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.3874, allocations: 1.769 MB / 0.5517 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.3877, allocations: 135.7 kB / 0.5518 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.3879, allocations: 76.2 kB / 0.5519 GB, free: 2.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002578/0.3905, allocations: 1.873 MB / 0.5537 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3905, allocations: 35.22 kB / 0.5537 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3905, allocations: 0 / 0.5537 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004603/0.3909, allocations: 186.3 kB / 0.5539 GB, free: 432 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.391, allocations: 60.14 kB / 0.554 GB, free: 360 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005574/0.3916, allocations: 435.7 kB / 0.5544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3916, allocations: 29.7 kB / 0.5544 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.3918, allocations: 266.5 kB / 0.5547 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.3918, allocations: 43.72 kB / 0.5547 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.392, allocations: 75.86 kB / 0.5548 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3922, allocations: 351.1 kB / 0.5551 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.3923, allocations: 70.92 kB / 0.5552 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.3926, allocations: 286.4 kB / 0.5554 GB, free: 14.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.3931, allocations: 384.2 kB / 0.5558 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3932, allocations: 0.7969 kB / 0.5558 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006901/0.3938, allocations: 397 kB / 0.5562 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3939, allocations: 8 kB / 0.5562 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3939, allocations: 8 kB / 0.5562 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3939, allocations: 13.34 kB / 0.5562 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.3942, allocations: 94.97 kB / 0.5563 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.3942, allocations: 13.92 kB / 0.5563 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3945, allocations: 44.28 kB / 0.5564 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.44e-05/0.3946, allocations: 29.41 kB / 0.5564 GB, free: 13.78 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.0001855/0.3948, allocations: 160.3 kB / 0.5565 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.3948, allocations: 48.45 kB / 0.5566 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.3953, allocations: 243.8 kB / 0.5568 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.3953, allocations: 4.641 kB / 0.5568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3953, allocations: 0 / 0.5568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3954, allocations: 0 / 0.5568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.396, allocations: 0.5283 MB / 0.5573 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.396, allocations: 5.219 kB / 0.5574 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.3961, allocations: 8.703 kB / 0.5574 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3961, allocations: 0 / 0.5574 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.3961, allocations: 0 / 0.5574 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3961, allocations: 7.875 kB / 0.5574 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3961, allocations: 0.75 kB / 0.5574 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3962, allocations: 110 kB / 0.5575 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3964, allocations: 119.5 kB / 0.5576 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.3964, allocations: 8.547 kB / 0.5576 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.3965, allocations: 4.641 kB / 0.5576 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.3965, allocations: 0 / 0.5576 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3965, allocations: 0.7031 kB / 0.5576 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004781/0.397, allocations: 360.4 kB / 0.5579 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.397, allocations: 0 / 0.5579 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000669/0.3977, allocations: 183.1 kB / 0.5581 GB, free: 12.03 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.0009747/0.3987, allocations: 0.8534 MB / 0.559 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003431/0.399, allocations: 154.8 kB / 0.5591 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.399, allocations: 192 / 0.5591 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.894e-05/0.399, allocations: 13.83 kB / 0.5591 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005336/0.3996, allocations: 89.88 kB / 0.5592 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.4043, allocations: 3.471 MB / 0.5626 GB, free: 7.449 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.4048, allocations: 0.7784 MB / 0.5633 GB, free: 6.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003634/0.4052, allocations: 113.6 kB / 0.5635 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.4054, allocations: 137.5 kB / 0.5636 GB, free: 6.473 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4054, allocations: 0 / 0.5636 GB, free: 6.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04073/0.4461, allocations: 10.39 MB / 0.5737 GB, free: 12.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.626/9.072, allocations: 18.81 kB / 0.5737 GB, free: 12.5 MB / 430.1 MB " [Timeout remaining time 651] (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: 11.825986756943166] Failed to read output from testmodel.py, exit status != 0: 9.150335886981338 9.17351068 8.78913559 Calling exit ...