Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.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.001855/0.001855, allocations: 107.9 kB / 16.45 MB, free: 6.453 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.002333/0.002333, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.594/1.594, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.1728/0.1728, allocations: 23.84 MB / 332.7 MB, free: 12.36 MB / 270.1 MB " [Timeout remaining time 179] 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.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",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.00201/0.00201, allocations: 59.91 kB / 466 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4161, allocations: 59.82 MB / 0.5135 GB, free: 8.828 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66: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:14337:7-14337:66: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.HydrogenCombustion): time 0.0424/0.4585, allocations: 29.35 MB / 0.5421 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.238/0.6965, allocations: 156.5 MB / 0.695 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.6987, allocations: 35.75 kB / 0.695 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.7007, allocations: 0.5078 MB / 0.6955 GB, free: 404 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007645/0.7083, allocations: 1.664 MB / 0.6971 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01063/0.719, allocations: 2.995 MB / 0.7001 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006337/0.7253, allocations: 2.613 MB / 0.7026 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/0.7276, allocations: 1.248 MB / 0.7038 GB, free: 7.785 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.7294, allocations: 1.27 MB / 0.7051 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.7315, allocations: 1.417 MB / 0.7065 GB, free: 5.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.7319, allocations: 224 kB / 0.7067 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008287/0.7401, allocations: 2.391 MB / 0.709 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009151/0.7411, allocations: 0.5686 MB / 0.7096 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00178/0.7428, allocations: 1.19 MB / 0.7107 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.7554, allocations: 5.119 MB / 0.7157 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7554, allocations: 4 kB / 0.7157 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7554, allocations: 4 kB / 0.7157 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.682e-05/0.7555, allocations: 7.875 kB / 0.7157 GB, free: 11.56 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.005556/0.761, allocations: 2.902 MB / 0.7186 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7611, allocations: 8.031 kB / 0.7186 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003625/0.7614, allocations: 270.7 kB / 0.7188 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.766, allocations: 0.8737 MB / 0.7197 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/0.768, allocations: 0.9829 MB / 0.7207 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.7682, allocations: 203.8 kB / 0.7209 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.7686, allocations: 204.2 kB / 0.721 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/0.7725, allocations: 2.152 MB / 0.7231 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.7725, allocations: 3.938 kB / 0.7232 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002006/0.7727, allocations: 76 kB / 0.7232 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/0.7728, allocations: 48 kB / 0.7233 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004413/0.7772, allocations: 2.307 MB / 0.7255 GB, free: 1.367 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2829/1.06, allocations: 7.638 MB / 0.733 GB, free: 183.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004946/1.065, allocations: 2.242 MB / 0.7352 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/1.067, allocations: 0.738 MB / 0.7359 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/1.078, allocations: 6.656 MB / 0.7424 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.078, allocations: 47.95 kB / 0.7424 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.096e-06/1.078, allocations: 0 / 0.7424 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01981/1.098, allocations: 6.829 MB / 0.7491 GB, free: 174 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/1.098, allocations: 100.6 kB / 0.7492 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/1.099, allocations: 0.9543 MB / 0.7501 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/1.099, allocations: 55.2 kB / 0.7502 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005278/1.1, allocations: 0.9029 MB / 0.7511 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/1.1, allocations: 0.6232 MB / 0.7517 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006531/1.101, allocations: 409.7 kB / 0.7521 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.047e-05/1.101, allocations: 301.1 kB / 0.7524 GB, free: 172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/1.102, allocations: 0.6203 MB / 0.753 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/1.104, allocations: 1.2 MB / 0.7541 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002795/1.107, allocations: 1.981 MB / 0.7561 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/1.107, allocations: 5.844 kB / 0.7561 GB, free: 169.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005389/1.112, allocations: 2.581 MB / 0.7586 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/1.112, allocations: 12.34 kB / 0.7586 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/1.112, allocations: 18 kB / 0.7586 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/1.114, allocations: 0.5917 MB / 0.7592 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.117, allocations: 491.3 kB / 0.7597 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008146/1.125, allocations: 9.372 MB / 0.7688 GB, free: 160 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.127, allocations: 67.64 kB / 0.7689 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.127, allocations: 164.2 kB / 0.769 GB, free: 159.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,10), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001024/1.128, allocations: 426.8 kB / 0.7694 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/1.128, allocations: 155 kB / 0.7696 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/1.134, allocations: 2.624 MB / 0.7722 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.134, allocations: 17.62 kB / 0.7722 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/1.134, allocations: 4.281 kB / 0.7722 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.134, allocations: 13.48 kB / 0.7722 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006577/1.14, allocations: 4.13 MB / 0.7762 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/1.14, allocations: 3.984 kB / 0.7762 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.142, allocations: 372.6 kB / 0.7766 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/1.144, allocations: 0.4968 MB / 0.7771 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001585/1.144, allocations: 81.03 kB / 0.7771 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/1.149, allocations: 6.675 MB / 0.7837 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.149, allocations: 4.031 kB / 0.7837 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005157/1.154, allocations: 3.141 MB / 0.7867 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005109/1.155, allocations: 215.1 kB / 0.7869 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/1.155, allocations: 39.94 kB / 0.787 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000849/1.156, allocations: 39.98 kB / 0.787 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/1.156, allocations: 172.3 kB / 0.7872 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/1.156, allocations: 124 kB / 0.7873 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000705/1.157, allocations: 0.6256 MB / 0.7879 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.157, allocations: 0 / 0.7879 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002771/1.16, allocations: 0.8375 MB / 0.7887 GB, free: 143.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (H2_gas.logn,O2_gas.logn,H2O_gas.molarVolume,H2O_gas.logn,H2_gas1.logn,O2_gas1.logn,H2O_gas1.molarVolume,H2O_gas1.logn) * 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 (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,6,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006735/1.167, allocations: 4.402 MB / 0.793 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003858/1.17, allocations: 2.332 MB / 0.7953 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/1.171, allocations: 0 / 0.7953 GB, free: 137.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/1.173, allocations: 1.317 MB / 0.7966 GB, free: 135.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.174, allocations: 304.8 kB / 0.7969 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/1.196, allocations: 14.14 MB / 0.8107 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007783/1.196, allocations: 1.406 MB / 0.8121 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001593/1.198, allocations: 436.4 kB / 0.8125 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.199, allocations: 0.8923 MB / 0.8134 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/1.199, allocations: 0 / 0.8134 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0894/1.289, allocations: 50.81 MB / 0.863 GB, free: 68.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.72/25.01, allocations: 18.81 kB / 0.863 GB, free: 68.19 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.sim & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.HydrogenCombustion_res.csv --start-time 0 --stop-time 0.39 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000156 Chemical_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.306083117000526] Failed to read output from testmodel.py, exit status != 0: 25.135223108998616 25.14378915 24.386172782 Calling exit ...