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.0009289/0.0009289, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001454/0.001454, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9295/0.9295, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 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.08976/0.08976, allocations: 17.37 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 411.4 MB, free: 424 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.137e-05, allocations: 3.828 kB / 411.4 MB, free: 420 kB / 378.7 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.02954/0.02958, allocations: 28.89 MB / 440.3 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2976/0.3271, allocations: 134.4 MB / 0.5613 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.329, allocations: 35.69 kB / 0.5613 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.3304, allocations: 488 kB / 0.5618 GB, free: 120 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.3358, allocations: 1.721 MB / 0.5635 GB, free: 14.38 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007131/0.343, allocations: 3.08 MB / 0.5665 GB, free: 11.29 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003326/0.3463, allocations: 2.696 MB / 0.5691 GB, free: 8.582 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.3478, allocations: 1.213 MB / 0.5703 GB, free: 7.336 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.3499, allocations: 1.763 MB / 0.572 GB, free: 5.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/0.3514, allocations: 1.13 MB / 0.5731 GB, free: 4.438 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.3517, allocations: 228 kB / 0.5733 GB, free: 4.215 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005492/0.3572, allocations: 2.234 MB / 0.5755 GB, free: 1.977 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000694/0.3579, allocations: 0.5762 MB / 0.5761 GB, free: 1.398 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.3591, allocations: 0.8419 MB / 0.5769 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009265/0.3683, allocations: 5.354 MB / 0.5821 GB, free: 11.18 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3683, allocations: 4 kB / 0.5821 GB, free: 11.18 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3683, allocations: 0 / 0.5821 GB, free: 11.18 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.653e-05/0.3684, allocations: 3.281 kB / 0.5821 GB, free: 11.18 MB / 474.7 MB 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.003887/0.3723, allocations: 2.804 MB / 0.5849 GB, free: 8.336 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3723, allocations: 8.031 kB / 0.5849 GB, free: 8.328 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002372/0.3726, allocations: 274.6 kB / 0.5851 GB, free: 8.051 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.3749, allocations: 0.8698 MB / 0.586 GB, free: 7.188 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3762, allocations: 0.9166 MB / 0.5869 GB, free: 6.246 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.3764, allocations: 254.9 kB / 0.5871 GB, free: 5.977 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.3766, allocations: 196.3 kB / 0.5873 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.3792, allocations: 2.149 MB / 0.5894 GB, free: 3.594 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.3793, allocations: 8.375 kB / 0.5894 GB, free: 3.586 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.3794, allocations: 79.94 kB / 0.5895 GB, free: 3.508 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.3794, allocations: 51.94 kB / 0.5895 GB, free: 3.457 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/0.3825, allocations: 2.288 MB / 0.5918 GB, free: 1.168 MB / 474.7 MB 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.008541/0.391, allocations: 6.036 MB / 0.5977 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.3937, allocations: 1.572 MB / 0.5992 GB, free: 9.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000883/0.3946, allocations: 0.7355 MB / 0.5999 GB, free: 8.668 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005315/0.3999, allocations: 3.923 MB / 0.6038 GB, free: 4.719 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.3999, allocations: 55.75 kB / 0.6038 GB, free: 4.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 4.498e-06/0.3999, allocations: 0 / 0.6038 GB, free: 4.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.01108/0.411, allocations: 6.511 MB / 0.6102 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.4111, allocations: 99.11 kB / 0.6103 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009831/0.4121, allocations: 0.9806 MB / 0.6112 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.4122, allocations: 53.7 kB / 0.6113 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.4126, allocations: 0.9025 MB / 0.6121 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/0.4133, allocations: 0.6119 MB / 0.6127 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003687/0.4136, allocations: 403.5 kB / 0.6131 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.4137, allocations: 305.1 kB / 0.6134 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007727/0.4145, allocations: 0.6209 MB / 0.614 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.4155, allocations: 1.197 MB / 0.6152 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.4175, allocations: 1.988 MB / 0.6171 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.298e-06/0.4175, allocations: 8 kB / 0.6171 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003574/0.4211, allocations: 2.579 MB / 0.6197 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.4211, allocations: 15.98 kB / 0.6197 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4212, allocations: 28.81 kB / 0.6197 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4223, allocations: 0.5895 MB / 0.6203 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4235, allocations: 484 kB / 0.6207 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1865/0.6099, allocations: 8.884 MB / 0.6294 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.611, allocations: 65.44 kB / 0.6295 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.6112, allocations: 161.6 kB / 0.6296 GB, free: 147.5 MB / 0.4948 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.0007654/0.612, allocations: 425.5 kB / 0.63 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.6122, allocations: 162.4 kB / 0.6302 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003534/0.6158, allocations: 2.618 MB / 0.6328 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.6158, allocations: 19.25 kB / 0.6328 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.6158, allocations: 12.62 kB / 0.6328 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.6158, allocations: 13.45 kB / 0.6328 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.6204, allocations: 3.876 MB / 0.6366 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.6205, allocations: 3.25 kB / 0.6366 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.6215, allocations: 379.7 kB / 0.6369 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.6225, allocations: 0.4973 MB / 0.6374 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.6226, allocations: 74.19 kB / 0.6375 GB, free: 144.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003266/0.6259, allocations: 6.324 MB / 0.6437 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.6259, allocations: 0 / 0.6437 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.6293, allocations: 3.142 MB / 0.6467 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.6296, allocations: 141.4 kB / 0.6469 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.6297, allocations: 33.69 kB / 0.6469 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.6301, allocations: 44.59 kB / 0.647 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/0.6303, allocations: 175.3 kB / 0.6471 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.6305, allocations: 130.8 kB / 0.6472 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000551/0.631, allocations: 0.621 MB / 0.6479 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.631, allocations: 0 / 0.6479 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001931/0.6329, allocations: 0.8317 MB / 0.6487 GB, free: 137.1 MB / 0.4948 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.004692/0.6376, allocations: 4.426 MB / 0.653 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002781/0.6404, allocations: 2.327 MB / 0.6553 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6404, allocations: 3.188 kB / 0.6553 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.6418, allocations: 1.326 MB / 0.6566 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.643, allocations: 306.9 kB / 0.6569 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.662, allocations: 14.04 MB / 0.6706 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.6628, allocations: 0.8223 MB / 0.6714 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001275/0.6641, allocations: 442.1 kB / 0.6718 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/0.665, allocations: 0.8891 MB / 0.6727 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.455e-06/0.665, allocations: 0 / 0.6727 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07006/0.7351, allocations: 51.9 MB / 0.7233 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.284/10.02, allocations: 3.984 kB / 0.7233 GB, free: 89.05 MB / 0.4948 GB " [Timeout remaining time 650] (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: 12.03896038979292] Failed to read output from testmodel.py, exit status != 0: 10.133324393071234 10.14101925 9.770386611 Calling exit ...