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.001462/0.001462, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001359/0.001359, allocations: 217.7 kB / 22.25 MB, free: 5.121 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 7.969 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.1286/0.1286, allocations: 23.9 MB / 336.3 MB, free: 11.15 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.001928/0.001928, allocations: 71.89 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2793, allocations: 59.86 MB / 0.5186 GB, free: 9.227 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.04312/0.3224, allocations: 23.91 MB / 0.542 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008244/0.3306, allocations: 6.369 MB / 0.5482 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.331, allocations: 11.88 kB / 0.5482 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005261/0.3316, allocations: 159.9 kB / 0.5484 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.3323, allocations: 252.3 kB / 0.5486 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.3346, allocations: 0.9855 MB / 0.5496 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.3352, allocations: 0.511 MB / 0.5501 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.3355, allocations: 175 kB / 0.5502 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.3358, allocations: 242.7 kB / 0.5505 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.3362, allocations: 273.5 kB / 0.5507 GB, free: 7.402 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/0.3363, allocations: 31.94 kB / 0.5508 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.3375, allocations: 0.5595 MB / 0.5513 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.3376, allocations: 96.3 kB / 0.5514 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.3378, allocations: 208.2 kB / 0.5516 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3393, allocations: 1.086 MB / 0.5527 GB, free: 5.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3393, allocations: 0 / 0.5527 GB, free: 5.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3393, allocations: 4 kB / 0.5527 GB, free: 5.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3393, allocations: 0 / 0.5527 GB, free: 5.691 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.001158/0.3405, allocations: 0.7304 MB / 0.5534 GB, free: 4.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3405, allocations: 8.031 kB / 0.5534 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.006e-05/0.3406, allocations: 60.23 kB / 0.5535 GB, free: 4.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.3411, allocations: 114.8 kB / 0.5536 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005517/0.3417, allocations: 341 kB / 0.5539 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3417, allocations: 17.03 kB / 0.5539 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.074e-05/0.3418, allocations: 31.94 kB / 0.5539 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006554/0.3424, allocations: 442.9 kB / 0.5544 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3424, allocations: 0 / 0.5544 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.3425, allocations: 15.98 kB / 0.5544 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.3425, allocations: 8 kB / 0.5544 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.3434, allocations: 0.5777 MB / 0.5549 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.3457, allocations: 1.731 MB / 0.5566 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.346, allocations: 136.5 kB / 0.5568 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3462, allocations: 80.5 kB / 0.5568 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/0.3481, allocations: 0.9453 MB / 0.5578 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.3481, allocations: 35.22 kB / 0.5578 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3481, allocations: 4 kB / 0.5578 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003993/0.3485, allocations: 186.3 kB / 0.558 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3486, allocations: 55.34 kB / 0.558 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.3491, allocations: 435.9 kB / 0.5584 GB, free: 248 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3491, allocations: 26.55 kB / 0.5585 GB, free: 216 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3493, allocations: 274.4 kB / 0.5587 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.3494, allocations: 39.59 kB / 0.5588 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.3495, allocations: 75.67 kB / 0.5588 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3496, allocations: 355.1 kB / 0.5592 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.3498, allocations: 74.62 kB / 0.5593 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/0.3501, allocations: 282.3 kB / 0.5595 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.3505, allocations: 384.8 kB / 0.5599 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3506, allocations: 0 / 0.5599 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006404/0.3512, allocations: 389.7 kB / 0.5603 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3512, allocations: 8.609 kB / 0.5603 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.3512, allocations: 12.12 kB / 0.5603 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3512, allocations: 12 kB / 0.5603 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.3515, allocations: 95.67 kB / 0.5604 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.3515, allocations: 13.69 kB / 0.5604 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.3518, allocations: 47.62 kB / 0.5604 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.3518, allocations: 29.36 kB / 0.5605 GB, free: 14.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.0001626/0.352, allocations: 160.5 kB / 0.5606 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.3521, allocations: 44.38 kB / 0.5607 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004467/0.3525, allocations: 240.3 kB / 0.5609 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3525, allocations: 3.938 kB / 0.5609 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3525, allocations: 0 / 0.5609 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3525, allocations: 0.6094 kB / 0.5609 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.3531, allocations: 0.5156 MB / 0.5614 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3531, allocations: 3.938 kB / 0.5614 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.237e-05/0.3532, allocations: 1.125 kB / 0.5614 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3532, allocations: 4.781 kB / 0.5614 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.3532, allocations: 0 / 0.5614 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3532, allocations: 7.938 kB / 0.5614 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3532, allocations: 3.938 kB / 0.5614 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001401/0.3533, allocations: 110.1 kB / 0.5615 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.445e-05/0.3534, allocations: 46.94 kB / 0.5616 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.3534, allocations: 0 / 0.5616 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.016e-05/0.3535, allocations: 0.6562 kB / 0.5616 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.3536, allocations: 0.75 kB / 0.5616 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3536, allocations: 0 / 0.5616 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004244/0.354, allocations: 364.3 kB / 0.5619 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.354, allocations: 3.938 kB / 0.5619 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000555/0.3545, allocations: 171.7 kB / 0.5621 GB, free: 12.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.0008231/0.3554, allocations: 0.861 MB / 0.5629 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.3556, allocations: 158.6 kB / 0.5631 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3557, allocations: 4 kB / 0.5631 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.3557, allocations: 9.5 kB / 0.5631 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3562, allocations: 100.5 kB / 0.5632 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.3604, allocations: 3.474 MB / 0.5666 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.3608, allocations: 0.7822 MB / 0.5673 GB, free: 7.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.3611, allocations: 98.11 kB / 0.5674 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001878/0.3613, allocations: 129.5 kB / 0.5676 GB, free: 6.879 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3613, allocations: 4 kB / 0.5676 GB, free: 6.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04029/0.4016, allocations: 10.62 MB / 0.5779 GB, free: 12.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.18, allocations: 4 kB / 0.5779 GB, free: 12.42 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: 13.74878173500474] Failed to read output from testmodel.py, exit status != 0: 11.294777949995478 11.309286387 10.967007281 Calling exit ...