Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001576/0.001576, 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.00217/0.00217, allocations: 213.1 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.515/1.515, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1476/0.1476, allocations: 23.99 MB / 336.4 MB, free: 10.83 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.HydrogenCombustion,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_master_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.002032/0.002032, allocations: 67.83 kB / 471.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 59.9 MB / 0.5187 GB, free: 9.5 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.07882/0.4413, allocations: 28.64 MB / 0.5467 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1795/0.6209, allocations: 134.4 MB / 0.6779 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.6227, allocations: 35.75 kB / 0.678 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.6241, allocations: 476.2 kB / 0.6784 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004933/0.629, allocations: 1.664 MB / 0.68 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007991/0.637, allocations: 3.011 MB / 0.683 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.641, allocations: 2.598 MB / 0.6855 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.643, allocations: 1.198 MB / 0.6867 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.6451, allocations: 1.278 MB / 0.6879 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.6474, allocations: 1.265 MB / 0.6892 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000493/0.6479, allocations: 228 kB / 0.6894 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/0.6539, allocations: 2.219 MB / 0.6916 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.6545, allocations: 0.5647 MB / 0.6921 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001436/0.656, allocations: 0.9997 MB / 0.6931 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.6674, allocations: 5.115 MB / 0.6981 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.924e-06/0.6674, allocations: 0 / 0.6981 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6674, allocations: 0 / 0.6981 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-05/0.6675, allocations: 0 / 0.6981 GB, free: 1.496 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.006212/0.6737, allocations: 2.83 MB / 0.7008 GB, free: 14.62 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.258e-05/0.6738, allocations: 8.031 kB / 0.7009 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004917/0.6743, allocations: 278.6 kB / 0.7011 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.6789, allocations: 0.862 MB / 0.702 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.6816, allocations: 0.9134 MB / 0.7029 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/0.6819, allocations: 255.2 kB / 0.7031 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.6822, allocations: 200.3 kB / 0.7033 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.6863, allocations: 2.152 MB / 0.7054 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.6863, allocations: 0 / 0.7054 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.6865, allocations: 79.98 kB / 0.7055 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.6866, allocations: 48 kB / 0.7055 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004018/0.6906, allocations: 2.288 MB / 0.7077 GB, free: 7.445 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.01104/0.7016, allocations: 6.056 MB / 0.7137 GB, free: 1.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.7058, allocations: 1.558 MB / 0.7152 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001249/0.7071, allocations: 0.7351 MB / 0.7159 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00783/0.7149, allocations: 3.917 MB / 0.7197 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.632e-05/0.715, allocations: 51.81 kB / 0.7198 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.346e-06/0.715, allocations: 4 kB / 0.7198 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01931/0.7343, allocations: 6.528 MB / 0.7262 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.7344, allocations: 95.11 kB / 0.7262 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.7358, allocations: 0.9883 MB / 0.7272 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002496/0.7361, allocations: 53.7 kB / 0.7273 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.7368, allocations: 0.9026 MB / 0.7281 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000616/0.7374, allocations: 0.6274 MB / 0.7288 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/0.738, allocations: 403.5 kB / 0.7291 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7382, allocations: 305.1 kB / 0.7294 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/0.7394, allocations: 0.6248 MB / 0.73 GB, free: 240 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2512/0.9906, allocations: 1.19 MB / 0.7312 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003174/0.9938, allocations: 1.986 MB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.9938, allocations: 5.562 kB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005333/0.9991, allocations: 2.575 MB / 0.7357 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.9992, allocations: 13.61 kB / 0.7357 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.9992, allocations: 17.56 kB / 0.7357 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/1.001, allocations: 0.5991 MB / 0.7363 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.004, allocations: 485.4 kB / 0.7367 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008274/1.012, allocations: 8.892 MB / 0.7454 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.014, allocations: 69.28 kB / 0.7455 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003026/1.014, allocations: 162.4 kB / 0.7456 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.0009451/1.015, allocations: 429.1 kB / 0.7461 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.015, allocations: 156.6 kB / 0.7462 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/1.021, allocations: 2.616 MB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/1.021, allocations: 20.34 kB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/1.021, allocations: 3.938 kB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/1.021, allocations: 11.89 kB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007712/1.029, allocations: 3.902 MB / 0.7526 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/1.029, allocations: 0.7031 kB / 0.7526 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.031, allocations: 373.8 kB / 0.753 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/1.033, allocations: 0.5061 MB / 0.7535 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002243/1.033, allocations: 75 kB / 0.7535 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/1.038, allocations: 6.319 MB / 0.7597 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.038, allocations: 5.359 kB / 0.7597 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006109/1.045, allocations: 3.141 MB / 0.7628 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/1.045, allocations: 142.6 kB / 0.7629 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/1.045, allocations: 41.61 kB / 0.7629 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/1.046, allocations: 39.58 kB / 0.763 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003981/1.046, allocations: 171.3 kB / 0.7631 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.047, allocations: 125.8 kB / 0.7633 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008713/1.047, allocations: 0.6213 MB / 0.7639 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.047, allocations: 0 / 0.7639 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002836/1.05, allocations: 0.836 MB / 0.7647 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.007073/1.057, allocations: 4.406 MB / 0.769 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003983/1.061, allocations: 2.321 MB / 0.7713 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.061, allocations: 5.594 kB / 0.7713 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002071/1.063, allocations: 1.318 MB / 0.7726 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.001661/1.065, allocations: 315.4 kB / 0.7729 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/1.085, allocations: 14.15 MB / 0.7867 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007838/1.085, allocations: 0.828 MB / 0.7875 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001505/1.087, allocations: 437.6 kB / 0.7879 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.088, allocations: 0.8962 MB / 0.7888 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/1.088, allocations: 0 / 0.7888 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09235/1.18, allocations: 51.77 MB / 0.8393 GB, free: 95.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/16.91, allocations: 6.875 kB / 0.8393 GB, free: 95.26 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.sim & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.86045092297718] Failed to read output from testmodel.py, exit status != 0: 17.066574816126376 17.08630642 16.4148827 Calling exit ...