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.0007431/0.0007431, 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.0007603/0.0007603, allocations: 165.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.8389/0.8389, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.07823/0.07823, allocations: 17.45 MB / 276.6 MB, free: 11.78 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.483e-06/1.483e-06, allocations: 0 / 411.6 MB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.565e-05, allocations: 10.92 kB / 411.6 MB, free: 256 kB / 378.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.02317/0.02318, allocations: 28.89 MB / 440.5 MB, free: 3.426 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.2306/0.2538, allocations: 134.4 MB / 0.5614 GB, free: 412 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009375/0.2547, allocations: 35.75 kB / 0.5615 GB, free: 376 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.2559, allocations: 492 kB / 0.5619 GB, free: 15.88 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.2588, allocations: 1.717 MB / 0.5636 GB, free: 14.16 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00526/0.2641, allocations: 3.084 MB / 0.5666 GB, free: 11.05 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002846/0.2669, allocations: 2.685 MB / 0.5692 GB, free: 8.359 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.268, allocations: 1.205 MB / 0.5704 GB, free: 7.121 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.2692, allocations: 1.77 MB / 0.5721 GB, free: 5.348 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.2701, allocations: 1.13 MB / 0.5732 GB, free: 4.215 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.2703, allocations: 228 kB / 0.5735 GB, free: 3.992 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.2739, allocations: 2.234 MB / 0.5756 GB, free: 1.754 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005008/0.2744, allocations: 0.5801 MB / 0.5762 GB, free: 1.172 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.2749, allocations: 0.8419 MB / 0.577 GB, free: 336 kB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005422/0.2803, allocations: 5.354 MB / 0.5823 GB, free: 10.96 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2803, allocations: 4 kB / 0.5823 GB, free: 10.95 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2803, allocations: 0 / 0.5823 GB, free: 10.95 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.849e-05/0.2804, allocations: 0 / 0.5823 GB, free: 10.95 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.003163/0.2835, allocations: 2.801 MB / 0.585 GB, free: 8.113 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2836, allocations: 8.031 kB / 0.585 GB, free: 8.105 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002087/0.2838, allocations: 274.6 kB / 0.5853 GB, free: 7.828 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.2858, allocations: 0.8737 MB / 0.5861 GB, free: 6.961 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.287, allocations: 0.9278 MB / 0.587 GB, free: 6.012 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.2871, allocations: 251.2 kB / 0.5873 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.2873, allocations: 196.3 kB / 0.5875 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.2898, allocations: 2.149 MB / 0.5896 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.2898, allocations: 384 / 0.5896 GB, free: 3.359 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.2899, allocations: 83.94 kB / 0.5896 GB, free: 3.277 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/0.29, allocations: 44 kB / 0.5897 GB, free: 3.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.2929, allocations: 2.295 MB / 0.5919 GB, free: 0.9375 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.006678/0.2996, allocations: 6.036 MB / 0.5978 GB, free: 10.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002233/0.3018, allocations: 1.57 MB / 0.5993 GB, free: 9.184 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007474/0.3026, allocations: 0.7396 MB / 0.6001 GB, free: 8.438 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004277/0.3069, allocations: 3.919 MB / 0.6039 GB, free: 4.492 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.3069, allocations: 47.86 kB / 0.6039 GB, free: 4.434 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 3.236e-06/0.3069, allocations: 11.94 kB / 0.604 GB, free: 4.422 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.00982/0.3167, allocations: 6.505 MB / 0.6103 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.3168, allocations: 98.39 kB / 0.6104 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.3178, allocations: 0.9883 MB / 0.6114 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.936e-05/0.3179, allocations: 53.7 kB / 0.6114 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.3182, allocations: 0.9025 MB / 0.6123 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.3185, allocations: 0.6119 MB / 0.6129 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.3189, allocations: 403.5 kB / 0.6133 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.196e-05/0.3189, allocations: 301.1 kB / 0.6136 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007114/0.3197, allocations: 0.6209 MB / 0.6142 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009393/0.3206, allocations: 1.197 MB / 0.6153 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.3224, allocations: 1.988 MB / 0.6173 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.3224, allocations: 4 kB / 0.6173 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003157/0.3255, allocations: 2.575 MB / 0.6198 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3256, allocations: 15.94 kB / 0.6198 GB, free: 3.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.3256, allocations: 16 kB / 0.6198 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3267, allocations: 0.6049 MB / 0.6204 GB, free: 2.855 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/0.3277, allocations: 492 kB / 0.6209 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1486/0.4763, allocations: 8.873 MB / 0.6296 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009488/0.4773, allocations: 63.75 kB / 0.6296 GB, free: 147 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.4774, allocations: 162.6 kB / 0.6298 GB, free: 147 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.0006083/0.478, allocations: 424.3 kB / 0.6302 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.4782, allocations: 162.7 kB / 0.6303 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/0.4811, allocations: 2.615 MB / 0.6329 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4811, allocations: 21.36 kB / 0.6329 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4811, allocations: 7.219 kB / 0.6329 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4811, allocations: 13.67 kB / 0.6329 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.4849, allocations: 3.888 MB / 0.6367 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.4849, allocations: 5.281 kB / 0.6367 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.4858, allocations: 378 kB / 0.6371 GB, free: 144.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009081/0.4868, allocations: 0.495 MB / 0.6376 GB, free: 144 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.291e-05/0.4868, allocations: 75.78 kB / 0.6376 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002781/0.4896, allocations: 6.323 MB / 0.6438 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4896, allocations: 3.094 kB / 0.6438 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/0.4926, allocations: 3.144 MB / 0.6469 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.4928, allocations: 137.2 kB / 0.647 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4929, allocations: 41.31 kB / 0.6471 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.4933, allocations: 39.17 kB / 0.6471 GB, free: 137 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.4935, allocations: 179.4 kB / 0.6473 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.4936, allocations: 128 kB / 0.6474 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004893/0.4941, allocations: 0.6194 MB / 0.648 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/0.4941, allocations: 3.375 kB / 0.648 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001657/0.4958, allocations: 0.8351 MB / 0.6488 GB, free: 136.6 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.004237/0.5, allocations: 4.432 MB / 0.6531 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.5024, allocations: 2.32 MB / 0.6554 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5024, allocations: 0 / 0.6554 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5035, allocations: 1.323 MB / 0.6567 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.5045, allocations: 302.9 kB / 0.657 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.5185, allocations: 14.04 MB / 0.6707 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.5191, allocations: 0.8258 MB / 0.6715 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001016/0.5201, allocations: 442.5 kB / 0.6719 GB, free: 125 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007723/0.5209, allocations: 0.8943 MB / 0.6728 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/0.5209, allocations: 0 / 0.6728 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/0.5774, allocations: 51.9 MB / 0.7235 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/9.325, allocations: 11.31 kB / 0.7235 GB, free: 88.55 MB / 0.4948 GB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --stepSize=0.000156 --timeout=50 --tolerance=1e-06 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.012385728769004] Failed to read output from testmodel.py, exit status != 0: 9.434978106059134 9.440131941 9.158505752 Calling exit ...