Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.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.00124/0.00124, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001397/0.001397, allocations: 214.9 kB / 22.24 MB, free: 5.102 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.801 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.1346/0.1346, allocations: 23.87 MB / 336.3 MB, free: 10.96 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,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_CheckSubstancesData_SimpleReaction2",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.001988/0.001988, allocations: 67.89 kB / 471.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3155, allocations: 59.87 MB / 0.5185 GB, free: 9.203 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): time 0.06623/0.3817, allocations: 24.09 MB / 0.5421 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01157/0.3933, allocations: 8.078 MB / 0.5499 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.3939, allocations: 11.88 kB / 0.55 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007272/0.3946, allocations: 195.8 kB / 0.5501 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.3958, allocations: 366.8 kB / 0.5505 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004155/0.3999, allocations: 1.441 MB / 0.5519 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001047/0.401, allocations: 0.66 MB / 0.5525 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.4013, allocations: 198.7 kB / 0.5527 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.4016, allocations: 329.1 kB / 0.553 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.4021, allocations: 353.3 kB / 0.5534 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.4022, allocations: 36 kB / 0.5534 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.404, allocations: 0.7982 MB / 0.5542 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.4041, allocations: 116.6 kB / 0.5543 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.4044, allocations: 219.5 kB / 0.5545 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.4066, allocations: 1.527 MB / 0.556 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4066, allocations: 0.6094 kB / 0.556 GB, free: 2.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4066, allocations: 4 kB / 0.556 GB, free: 2.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4066, allocations: 0 / 0.556 GB, free: 2.457 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001365/0.408, allocations: 0.8866 MB / 0.5569 GB, free: 1.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.408, allocations: 8.031 kB / 0.5569 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.73e-05/0.4081, allocations: 69.92 kB / 0.557 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007156/0.4088, allocations: 162.9 kB / 0.5571 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/0.4095, allocations: 390.6 kB / 0.5575 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4095, allocations: 21.03 kB / 0.5575 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.4096, allocations: 35.94 kB / 0.5575 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.4104, allocations: 0.5341 MB / 0.5581 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4104, allocations: 0 / 0.5581 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.776e-05/0.4105, allocations: 12 kB / 0.5581 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.4105, allocations: 8 kB / 0.5581 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.4117, allocations: 0.7999 MB / 0.5589 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.4142, allocations: 1.783 MB / 0.5606 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.4146, allocations: 201.7 kB / 0.5608 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.4148, allocations: 122.4 kB / 0.5609 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002677/0.4175, allocations: 1.296 MB / 0.5622 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4175, allocations: 38.56 kB / 0.5622 GB, free: 12.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.422e-06/0.4175, allocations: 0 / 0.5622 GB, free: 12.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006051/0.4181, allocations: 291 kB / 0.5625 GB, free: 12.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4182, allocations: 55.34 kB / 0.5625 GB, free: 12.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.4187, allocations: 497.5 kB / 0.563 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.4188, allocations: 25.7 kB / 0.563 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.419, allocations: 297.1 kB / 0.5633 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.4191, allocations: 69.91 kB / 0.5634 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.4192, allocations: 97.84 kB / 0.5635 GB, free: 11.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4194, allocations: 365.7 kB / 0.5638 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.4195, allocations: 90.98 kB / 0.5639 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.4199, allocations: 360.5 kB / 0.5643 GB, free: 10.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006077/0.4205, allocations: 0.4944 MB / 0.5647 GB, free: 9.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4205, allocations: 0 / 0.5647 GB, free: 9.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007554/0.4213, allocations: 493 kB / 0.5652 GB, free: 9.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4213, allocations: 10.97 kB / 0.5652 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.4213, allocations: 12 kB / 0.5652 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.4213, allocations: 12 kB / 0.5653 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.4216, allocations: 111.8 kB / 0.5654 GB, free: 9.324 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.4217, allocations: 20.52 kB / 0.5654 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.4219, allocations: 67.5 kB / 0.5654 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.422, allocations: 35.94 kB / 0.5655 GB, free: 9.203 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 50 * 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.0001887/0.4222, allocations: 173.6 kB / 0.5656 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.4223, allocations: 51.67 kB / 0.5657 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/0.4229, allocations: 391.8 kB / 0.5661 GB, free: 8.547 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4229, allocations: 7.938 kB / 0.5661 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4229, allocations: 0 / 0.5661 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4229, allocations: 3.938 kB / 0.5661 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008248/0.4238, allocations: 0.6656 MB / 0.5667 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4238, allocations: 8 kB / 0.5667 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.4238, allocations: 15.98 kB / 0.5667 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4239, allocations: 0 / 0.5667 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4239, allocations: 4 kB / 0.5668 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4239, allocations: 3.938 kB / 0.5668 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4239, allocations: 4 kB / 0.5668 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.4241, allocations: 193.1 kB / 0.5669 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4242, allocations: 55.78 kB / 0.567 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.4243, allocations: 19.88 kB / 0.567 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.4244, allocations: 4 kB / 0.567 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.4244, allocations: 3.984 kB / 0.567 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4244, allocations: 4 kB / 0.567 GB, free: 7.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004767/0.4249, allocations: 414.8 kB / 0.5674 GB, free: 7.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4249, allocations: 4 kB / 0.5674 GB, free: 7.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008439/0.4258, allocations: 243.2 kB / 0.5677 GB, free: 6.812 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.001175/0.4269, allocations: 1.049 MB / 0.5687 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.4274, allocations: 221.6 kB / 0.5689 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4274, allocations: 0 / 0.5689 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.4274, allocations: 35.92 kB / 0.5689 GB, free: 5.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.428, allocations: 123.7 kB / 0.569 GB, free: 5.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.4331, allocations: 4.141 MB / 0.5731 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.4333, allocations: 207.8 kB / 0.5733 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004245/0.4337, allocations: 144.1 kB / 0.5734 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/0.434, allocations: 171.4 kB / 0.5736 GB, free: 312 kB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.434, allocations: 4 kB / 0.5736 GB, free: 308 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04559/0.4796, allocations: 14.51 MB / 0.5878 GB, free: 1.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.41, allocations: 3.984 kB / 0.5878 GB, free: 1.949 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2_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.fmu > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.SimpleReaction2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.036543546011671] Failed to read output from testmodel.py, exit status != 0: 11.521345215005567 11.536161942 11.126539743 Calling exit ...