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.001396/0.001396, 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.001389/0.001389, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.329/1.329, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.1285/0.1285, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.00195/0.00195, allocations: 67.91 kB / 471.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2847, allocations: 59.86 MB / 0.5186 GB, free: 9.641 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.03057/0.3153, allocations: 23.91 MB / 0.5419 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008089/0.3234, allocations: 6.369 MB / 0.5481 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/0.3237, allocations: 11.88 kB / 0.5482 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.3242, allocations: 160.1 kB / 0.5483 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006159/0.3248, allocations: 255.8 kB / 0.5486 GB, free: 9.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.3269, allocations: 0.9861 MB / 0.5495 GB, free: 8.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.3276, allocations: 0.5069 MB / 0.55 GB, free: 8.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.3279, allocations: 170.6 kB / 0.5502 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.3282, allocations: 247.1 kB / 0.5504 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.3286, allocations: 269.2 kB / 0.5507 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.848e-05/0.3287, allocations: 28 kB / 0.5507 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.3299, allocations: 0.5598 MB / 0.5512 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3301, allocations: 104.5 kB / 0.5513 GB, free: 7.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.3303, allocations: 204.8 kB / 0.5515 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.3317, allocations: 1.093 MB / 0.5526 GB, free: 5.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3317, allocations: 0 / 0.5526 GB, free: 5.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3317, allocations: 0 / 0.5526 GB, free: 5.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3317, allocations: 0 / 0.5526 GB, free: 5.906 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.001129/0.3329, allocations: 0.7258 MB / 0.5533 GB, free: 5.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3329, allocations: 12.69 kB / 0.5533 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.711e-05/0.333, allocations: 61.27 kB / 0.5534 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.3335, allocations: 122.3 kB / 0.5535 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.3341, allocations: 332.9 kB / 0.5538 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.3341, allocations: 25.03 kB / 0.5538 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/0.3341, allocations: 27.94 kB / 0.5539 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.3348, allocations: 442.7 kB / 0.5543 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3348, allocations: 7.938 kB / 0.5543 GB, free: 4.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3348, allocations: 12 kB / 0.5543 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3349, allocations: 8 kB / 0.5543 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008805/0.3357, allocations: 0.5776 MB / 0.5549 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.3381, allocations: 1.734 MB / 0.5566 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.3384, allocations: 128.6 kB / 0.5567 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.3385, allocations: 76.97 kB / 0.5568 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/0.3404, allocations: 0.9455 MB / 0.5577 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3404, allocations: 38.5 kB / 0.5577 GB, free: 1.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.3404, allocations: 0 / 0.5577 GB, free: 1.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004071/0.3408, allocations: 190.2 kB / 0.5579 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.3409, allocations: 55.95 kB / 0.558 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.3414, allocations: 439.7 kB / 0.5584 GB, free: 460 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.3414, allocations: 33.7 kB / 0.5584 GB, free: 420 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3416, allocations: 262.5 kB / 0.5587 GB, free: 172 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.3416, allocations: 35.97 kB / 0.5587 GB, free: 140 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3417, allocations: 79.91 kB / 0.5588 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.3419, allocations: 347.3 kB / 0.5591 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3421, allocations: 70.97 kB / 0.5592 GB, free: 15.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.3424, allocations: 285.3 kB / 0.5594 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.3428, allocations: 384.8 kB / 0.5598 GB, free: 14.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3428, allocations: 4 kB / 0.5598 GB, free: 14.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000608/0.3434, allocations: 397.8 kB / 0.5602 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3434, allocations: 8 kB / 0.5602 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3435, allocations: 8.516 kB / 0.5602 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.3435, allocations: 12 kB / 0.5602 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3438, allocations: 95.39 kB / 0.5603 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.3438, allocations: 13.81 kB / 0.5603 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.344, allocations: 48.88 kB / 0.5604 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.3441, allocations: 28.7 kB / 0.5604 GB, free: 14.27 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.0001644/0.3442, allocations: 161.5 kB / 0.5606 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3443, allocations: 40.42 kB / 0.5606 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.3447, allocations: 239.9 kB / 0.5608 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3447, allocations: 4.453 kB / 0.5608 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3447, allocations: 0 / 0.5608 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3447, allocations: 0 / 0.5608 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.3453, allocations: 0.5081 MB / 0.5613 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3453, allocations: 4 kB / 0.5613 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.3453, allocations: 4.547 kB / 0.5613 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.3453, allocations: 0.8438 kB / 0.5613 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.3454, allocations: 4.062 kB / 0.5613 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3454, allocations: 0 / 0.5613 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3454, allocations: 0 / 0.5613 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3455, allocations: 110.8 kB / 0.5614 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.3456, allocations: 46.38 kB / 0.5615 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.3456, allocations: 4.516 kB / 0.5615 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.172e-05/0.3457, allocations: 0.5625 kB / 0.5615 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.3457, allocations: 12.7 kB / 0.5615 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.3457, allocations: 3.938 kB / 0.5615 GB, free: 13.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004256/0.3462, allocations: 360.5 kB / 0.5618 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3462, allocations: 0 / 0.5618 GB, free: 12.83 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005316/0.3467, allocations: 179.8 kB / 0.562 GB, free: 12.66 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.0008047/0.3475, allocations: 0.8448 MB / 0.5628 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002821/0.3478, allocations: 158.8 kB / 0.563 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3478, allocations: 4 kB / 0.563 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.3478, allocations: 14.72 kB / 0.563 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.3483, allocations: 98.62 kB / 0.5631 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.3524, allocations: 3.474 MB / 0.5665 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3528, allocations: 0.7831 MB / 0.5673 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.3531, allocations: 105.4 kB / 0.5674 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3532, allocations: 133.7 kB / 0.5675 GB, free: 7.086 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3532, allocations: 0 / 0.5675 GB, free: 7.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/0.392, allocations: 10.63 MB / 0.5779 GB, free: 12.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.08, allocations: 0 / 0.5779 GB, free: 12.65 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.566326140004094] Failed to read output from testmodel.py, exit status != 0: 11.189142506998905 11.20793601 10.872648636 Calling exit ...