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.001954/0.001954, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00199/0.00199, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.797 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.1488/0.1488, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.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.002095/0.002095, allocations: 63.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 59.86 MB / 0.5185 GB, free: 9.555 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.07856/0.4543, allocations: 28.63 MB / 0.5465 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1882/0.6424, allocations: 134.4 MB / 0.6777 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.6445, allocations: 35.75 kB / 0.6778 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.6466, allocations: 484.2 kB / 0.6782 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006347/0.653, allocations: 1.648 MB / 0.6798 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009878/0.6629, allocations: 3.015 MB / 0.6828 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005546/0.6684, allocations: 2.605 MB / 0.6853 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00265/0.6711, allocations: 1.194 MB / 0.6865 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002999/0.674, allocations: 1.278 MB / 0.6877 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003645/0.6777, allocations: 1.265 MB / 0.689 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.6787, allocations: 228 kB / 0.6892 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.6892, allocations: 2.223 MB / 0.6914 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.6906, allocations: 0.5685 MB / 0.6919 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002204/0.6928, allocations: 0.9842 MB / 0.6929 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01342/0.7062, allocations: 5.126 MB / 0.6979 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7062, allocations: 0 / 0.6979 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7062, allocations: 0 / 0.6979 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.235e-05/0.7063, allocations: 0 / 0.6979 GB, free: 1.703 MB / 0.5294 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.006126/0.7124, allocations: 2.83 MB / 0.7006 GB, free: 14.83 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.7124, allocations: 8.031 kB / 0.7007 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003547/0.7128, allocations: 274.6 kB / 0.7009 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.7171, allocations: 0.862 MB / 0.7018 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.7192, allocations: 0.9095 MB / 0.7026 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.7195, allocations: 255.2 kB / 0.7029 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.7198, allocations: 200.3 kB / 0.7031 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004067/0.7239, allocations: 2.156 MB / 0.7052 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.983e-05/0.7239, allocations: 0 / 0.7052 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.7241, allocations: 80 kB / 0.7053 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.7241, allocations: 48 kB / 0.7053 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00412/0.7283, allocations: 2.28 MB / 0.7075 GB, free: 7.664 MB / 0.545 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.01181/0.7401, allocations: 6.067 MB / 0.7135 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/0.7443, allocations: 1.559 MB / 0.715 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.7456, allocations: 0.7312 MB / 0.7157 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008686/0.7543, allocations: 3.925 MB / 0.7195 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.7543, allocations: 43.88 kB / 0.7196 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 4.358e-06/0.7543, allocations: 0 / 0.7196 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01818/0.7725, allocations: 6.54 MB / 0.726 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.37e-05/0.7726, allocations: 95.11 kB / 0.726 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.7739, allocations: 0.9844 MB / 0.727 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.7741, allocations: 53.7 kB / 0.7271 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007024/0.7748, allocations: 0.9026 MB / 0.7279 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.7754, allocations: 0.6274 MB / 0.7286 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/0.776, allocations: 407.5 kB / 0.7289 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.7761, allocations: 301.1 kB / 0.7292 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.7773, allocations: 0.617 MB / 0.7298 GB, free: 460 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2344/1.012, allocations: 1.199 MB / 0.731 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002894/1.015, allocations: 1.983 MB / 0.7329 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.314e-05/1.015, allocations: 4.094 kB / 0.7329 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005148/1.02, allocations: 2.579 MB / 0.7355 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.02, allocations: 12.72 kB / 0.7355 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/1.02, allocations: 19.52 kB / 0.7355 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/1.022, allocations: 0.5919 MB / 0.7361 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/1.024, allocations: 485.6 kB / 0.7365 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008791/1.033, allocations: 8.897 MB / 0.7452 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.035, allocations: 69.69 kB / 0.7453 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002992/1.035, allocations: 159.4 kB / 0.7454 GB, free: 174.6 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.0008839/1.036, allocations: 430.9 kB / 0.7459 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002996/1.036, allocations: 152.8 kB / 0.746 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005407/1.042, allocations: 2.627 MB / 0.7486 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.042, allocations: 21.39 kB / 0.7486 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.657e-05/1.042, allocations: 4.125 kB / 0.7486 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/1.042, allocations: 8.875 kB / 0.7486 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/1.049, allocations: 3.885 MB / 0.7524 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.049, allocations: 0 / 0.7524 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.051, allocations: 381.6 kB / 0.7528 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/1.053, allocations: 0.4998 MB / 0.7532 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002034/1.053, allocations: 75.62 kB / 0.7533 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005283/1.059, allocations: 6.324 MB / 0.7595 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.059, allocations: 10.09 kB / 0.7595 GB, free: 166 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/1.065, allocations: 3.15 MB / 0.7626 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004906/1.065, allocations: 137.4 kB / 0.7627 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.065, allocations: 37.91 kB / 0.7627 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/1.066, allocations: 41.41 kB / 0.7628 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004451/1.067, allocations: 171.1 kB / 0.7629 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002321/1.067, allocations: 126 kB / 0.7631 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001024/1.068, allocations: 0.6206 MB / 0.7637 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.068, allocations: 1.594 kB / 0.7637 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002823/1.071, allocations: 0.8323 MB / 0.7645 GB, free: 164 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.007233/1.078, allocations: 4.417 MB / 0.7688 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003995/1.082, allocations: 2.33 MB / 0.7711 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.082, allocations: 3.906 kB / 0.7711 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002005/1.084, allocations: 1.317 MB / 0.7724 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.086, allocations: 304.2 kB / 0.7727 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/1.106, allocations: 14.14 MB / 0.7865 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/1.106, allocations: 0.824 MB / 0.7873 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001582/1.108, allocations: 441.6 kB / 0.7877 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.109, allocations: 0.8951 MB / 0.7886 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/1.109, allocations: 4 kB / 0.7886 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09577/1.205, allocations: 51.76 MB / 0.8391 GB, free: 95.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.59, allocations: 12.05 kB / 0.8391 GB, free: 95.64 MB / 0.5606 GB " [Timeout remaining time 643] (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 os._exit(0), Time elapsed: 19.609557344112545] Failed to read output from testmodel.py, exit status != 0: 16.74303901521489 16.759988827 16.050257911 Calling exit ...