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.0007078/0.0007078, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007802/0.0007802, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8216/0.8216, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.08045/0.08045, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 411.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.237e-05, allocations: 2.281 kB / 411.6 MB, free: 12.44 MB / 330.7 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.02324/0.02327, allocations: 28.88 MB / 440.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.1049/0.1281, allocations: 134.4 MB / 0.5614 GB, free: 6.191 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1293, allocations: 31.75 kB / 0.5615 GB, free: 6.16 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009422/0.1302, allocations: 496 kB / 0.5619 GB, free: 5.672 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.1333, allocations: 1.702 MB / 0.5636 GB, free: 3.957 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005844/0.1391, allocations: 3.084 MB / 0.5666 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.1417, allocations: 2.698 MB / 0.5692 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.1429, allocations: 1.214 MB / 0.5704 GB, free: 12.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/0.1444, allocations: 1.759 MB / 0.5721 GB, free: 11.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009922/0.1454, allocations: 1.138 MB / 0.5733 GB, free: 9.984 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.1456, allocations: 224 kB / 0.5735 GB, free: 9.766 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.1495, allocations: 2.234 MB / 0.5757 GB, free: 7.527 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.1498, allocations: 0.588 MB / 0.5762 GB, free: 6.938 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000543/0.1504, allocations: 0.8418 MB / 0.577 GB, free: 6.094 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005466/0.1558, allocations: 5.354 MB / 0.5823 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1558, allocations: 0 / 0.5823 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1558, allocations: 0 / 0.5823 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.352e-05/0.1558, allocations: 0 / 0.5823 GB, free: 0.7227 MB / 490.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.1364/0.2922, allocations: 2.802 MB / 0.585 GB, free: 162.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2923, allocations: 10.75 kB / 0.585 GB, free: 162.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.2925, allocations: 270.7 kB / 0.5853 GB, free: 162.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.2948, allocations: 0.8743 MB / 0.5861 GB, free: 161.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.296, allocations: 0.9105 MB / 0.587 GB, free: 161.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.2961, allocations: 258.6 kB / 0.5873 GB, free: 161.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.2963, allocations: 201 kB / 0.5875 GB, free: 161.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.2987, allocations: 2.142 MB / 0.5896 GB, free: 160.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.2987, allocations: 1.75 kB / 0.5896 GB, free: 160.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.2988, allocations: 84.47 kB / 0.5896 GB, free: 160.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.2988, allocations: 53.69 kB / 0.5897 GB, free: 160.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.3013, allocations: 2.28 MB / 0.5919 GB, free: 159.5 MB / 490.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.00629/0.3076, allocations: 6.036 MB / 0.5978 GB, free: 156.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.3098, allocations: 1.58 MB / 0.5994 GB, free: 155.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007388/0.3106, allocations: 0.7341 MB / 0.6001 GB, free: 155.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004689/0.3153, allocations: 3.916 MB / 0.6039 GB, free: 153.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3153, allocations: 48.03 kB / 0.6039 GB, free: 153.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 3.025e-06/0.3153, allocations: 1.156 kB / 0.6039 GB, free: 153.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.009115/0.3244, allocations: 6.529 MB / 0.6103 GB, free: 149.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3244, allocations: 94.83 kB / 0.6104 GB, free: 149.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/0.3251, allocations: 0.9811 MB / 0.6114 GB, free: 148.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.091e-05/0.3252, allocations: 55.8 kB / 0.6114 GB, free: 148.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.3254, allocations: 0.9054 MB / 0.6123 GB, free: 148 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.3256, allocations: 0.6136 MB / 0.6129 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.3259, allocations: 409.6 kB / 0.6133 GB, free: 147.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 2.302e-05/0.3259, allocations: 301.1 kB / 0.6136 GB, free: 146.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.3266, allocations: 0.6209 MB / 0.6142 GB, free: 146.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.3273, allocations: 1.197 MB / 0.6154 GB, free: 144.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3288, allocations: 1.99 MB / 0.6173 GB, free: 142.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.3288, allocations: 4 kB / 0.6173 GB, free: 142.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00265/0.3314, allocations: 2.571 MB / 0.6198 GB, free: 140.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3315, allocations: 12 kB / 0.6198 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3315, allocations: 23.94 kB / 0.6198 GB, free: 140 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.3325, allocations: 0.599 MB / 0.6204 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3335, allocations: 485.5 kB / 0.6209 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.3377, allocations: 8.89 MB / 0.6296 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007129/0.3384, allocations: 64 kB / 0.6296 GB, free: 129.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.3385, allocations: 164 kB / 0.6298 GB, free: 129.4 MB / 490.7 MB 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.0005493/0.3391, allocations: 427.9 kB / 0.6302 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.3392, allocations: 151 kB / 0.6303 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.342, allocations: 2.625 MB / 0.6329 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.342, allocations: 20 kB / 0.6329 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.342, allocations: 4 kB / 0.6329 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.3421, allocations: 10.59 kB / 0.6329 GB, free: 126.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0037/0.3458, allocations: 3.895 MB / 0.6367 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3458, allocations: 2.688 kB / 0.6367 GB, free: 122.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008926/0.3466, allocations: 378.2 kB / 0.6371 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008965/0.3475, allocations: 0.5026 MB / 0.6376 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.3476, allocations: 78.64 kB / 0.6377 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.3502, allocations: 6.313 MB / 0.6438 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3502, allocations: 0 / 0.6438 GB, free: 114.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.3531, allocations: 3.138 MB / 0.6469 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.3532, allocations: 150.8 kB / 0.647 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.3533, allocations: 35.98 kB / 0.6471 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.3537, allocations: 38.66 kB / 0.6471 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.3539, allocations: 184.5 kB / 0.6473 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.366e-05/0.354, allocations: 124 kB / 0.6474 GB, free: 111.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.3544, allocations: 0.6218 MB / 0.648 GB, free: 110.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3544, allocations: 0 / 0.648 GB, free: 110.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001583/0.356, allocations: 0.8303 MB / 0.6488 GB, free: 109.6 MB / 490.7 MB 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.003991/0.36, allocations: 4.435 MB / 0.6532 GB, free: 105.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.3623, allocations: 2.324 MB / 0.6554 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3623, allocations: 2.688 kB / 0.6554 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3635, allocations: 1.322 MB / 0.6567 GB, free: 101.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.3645, allocations: 300.4 kB / 0.657 GB, free: 101.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/0.3762, allocations: 14.05 MB / 0.6707 GB, free: 86.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/0.3767, allocations: 0.8255 MB / 0.6715 GB, free: 85.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009017/0.3776, allocations: 443.5 kB / 0.672 GB, free: 85.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007085/0.3783, allocations: 0.8897 MB / 0.6728 GB, free: 84.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.123e-06/0.3783, allocations: 2.656 kB / 0.6728 GB, free: 84.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05146/0.4298, allocations: 51.91 MB / 0.7235 GB, free: 33.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.716/9.146, allocations: 18.5 kB / 0.7235 GB, free: 33.59 MB / 490.7 MB " [Timeout remaining time 651] (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: 11.008231020532548] Failed to read output from testmodel.py, exit status != 0: 9.386054845526814 9.264375414 9.107322259 Calling exit ...