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.001545/0.001545, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001701/0.001701, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.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.1303/0.1303, allocations: 23.85 MB / 336.3 MB, free: 11.2 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.001941/0.001941, allocations: 75.88 kB / 471.2 MB, free: 7.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 59.86 MB / 0.5186 GB, free: 9.625 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.03724/0.3467, allocations: 29.58 MB / 0.5475 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1813/0.528, allocations: 156.6 MB / 0.7004 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001536/0.5295, allocations: 31.81 kB / 0.7004 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.531, allocations: 0.5116 MB / 0.7009 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004825/0.5359, allocations: 1.672 MB / 0.7025 GB, free: 13.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007924/0.5438, allocations: 2.999 MB / 0.7055 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003844/0.5476, allocations: 2.605 MB / 0.708 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.5493, allocations: 1.237 MB / 0.7092 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.5509, allocations: 1.274 MB / 0.7105 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00212/0.553, allocations: 1.417 MB / 0.7118 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/0.5534, allocations: 228 kB / 0.7121 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005907/0.5593, allocations: 2.387 MB / 0.7144 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005787/0.5599, allocations: 0.5725 MB / 0.715 GB, free: 452 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.5611, allocations: 1.182 MB / 0.7161 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.5716, allocations: 5.126 MB / 0.7211 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.717e-06/0.5716, allocations: 0 / 0.7211 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5716, allocations: 0 / 0.7211 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.78e-05/0.5717, allocations: 7.875 kB / 0.7211 GB, free: 10.1 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.00558/0.5773, allocations: 2.827 MB / 0.7239 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.5773, allocations: 8.031 kB / 0.7239 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003288/0.5777, allocations: 278.6 kB / 0.7242 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.5818, allocations: 0.8659 MB / 0.725 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.5835, allocations: 0.9095 MB / 0.7259 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.5837, allocations: 259.2 kB / 0.7261 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.584, allocations: 200.3 kB / 0.7263 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.5875, allocations: 2.156 MB / 0.7284 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.304e-05/0.5876, allocations: 3.938 kB / 0.7284 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.5878, allocations: 76 kB / 0.7285 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.5878, allocations: 48 kB / 0.7286 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004023/0.5918, allocations: 2.307 MB / 0.7308 GB, free: 24 kB / 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.2155/0.8073, allocations: 7.536 MB / 0.7382 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003778/0.8111, allocations: 1.576 MB / 0.7397 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.8122, allocations: 0.7371 MB / 0.7404 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007214/0.8194, allocations: 4.131 MB / 0.7445 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.8195, allocations: 49.22 kB / 0.7445 GB, free: 180 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.086e-06/0.8195, allocations: 0 / 0.7445 GB, free: 180 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01589/0.8353, allocations: 6.531 MB / 0.7509 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.8354, allocations: 102.7 kB / 0.751 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.8365, allocations: 0.957 MB / 0.7519 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.8366, allocations: 56.08 kB / 0.752 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/0.837, allocations: 0.8996 MB / 0.7529 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003495/0.8374, allocations: 0.6217 MB / 0.7535 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.8378, allocations: 411.6 kB / 0.7539 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.359e-05/0.8379, allocations: 301.1 kB / 0.7541 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.8389, allocations: 0.622 MB / 0.7547 GB, free: 175 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/0.8401, allocations: 1.195 MB / 0.7559 GB, free: 174 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.8427, allocations: 1.987 MB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.8427, allocations: 8.688 kB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00501/0.8477, allocations: 2.569 MB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.8477, allocations: 15.06 kB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.8478, allocations: 17.66 kB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/0.8497, allocations: 0.5982 MB / 0.761 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.8518, allocations: 483.9 kB / 0.7614 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007242/0.859, allocations: 8.962 MB / 0.7702 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.8605, allocations: 71.58 kB / 0.7703 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.8607, allocations: 162 kB / 0.7704 GB, free: 163.1 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.00073/0.8614, allocations: 427.7 kB / 0.7708 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.8617, allocations: 157.7 kB / 0.771 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004864/0.8665, allocations: 2.622 MB / 0.7735 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.8665, allocations: 21.44 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.8666, allocations: 3.906 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/0.8666, allocations: 11.91 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/0.8727, allocations: 4.1 MB / 0.7776 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.8727, allocations: 3.781 kB / 0.7776 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/0.8745, allocations: 382.5 kB / 0.7779 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.8762, allocations: 0.4949 MB / 0.7784 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.8763, allocations: 76.72 kB / 0.7785 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.8807, allocations: 6.353 MB / 0.7847 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8807, allocations: 3.938 kB / 0.7847 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004488/0.8851, allocations: 3.152 MB / 0.7878 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000259/0.8854, allocations: 138.9 kB / 0.7879 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.8856, allocations: 39.98 kB / 0.788 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/0.8864, allocations: 38.69 kB / 0.788 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.8866, allocations: 176.2 kB / 0.7882 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.8867, allocations: 128 kB / 0.7883 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005793/0.8873, allocations: 0.6218 MB / 0.7889 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8873, allocations: 0 / 0.7889 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002191/0.8895, allocations: 0.8303 MB / 0.7897 GB, free: 147.3 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.005851/0.8954, allocations: 4.411 MB / 0.794 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003311/0.8987, allocations: 2.324 MB / 0.7963 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.8987, allocations: 0 / 0.7963 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.9004, allocations: 1.324 MB / 0.7976 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.9019, allocations: 308.3 kB / 0.7979 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.9187, allocations: 14.15 MB / 0.8117 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/0.9194, allocations: 1.402 MB / 0.8131 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001322/0.9207, allocations: 441.8 kB / 0.8135 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/0.9217, allocations: 0.8909 MB / 0.8144 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.031e-06/0.9217, allocations: 0 / 0.8144 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08863/1.01, allocations: 52.52 MB / 0.8656 GB, free: 69.85 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.76/23.77, allocations: 10.64 kB / 0.8657 GB, free: 69.84 MB / 0.5606 GB " [Timeout remaining time 636] (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: 26.475791734999802] Failed to read output from testmodel.py, exit status != 0: 23.910664759998326 23.920098475 23.346353796 Calling exit ...