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.001379/0.001379, 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.001822/0.001822, allocations: 211.9 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.781 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.1547/0.1547, allocations: 23.99 MB / 336.4 MB, free: 10.86 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.002088/0.002088, allocations: 67.89 kB / 471.3 MB, free: 7.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3316, allocations: 59.89 MB / 0.5187 GB, free: 9.461 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.07595/0.4075, allocations: 28.64 MB / 0.5467 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1812/0.5887, allocations: 134.4 MB / 0.6779 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.5907, allocations: 31.75 kB / 0.678 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.5924, allocations: 480.2 kB / 0.6784 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.5979, allocations: 1.656 MB / 0.68 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009246/0.6071, allocations: 3.011 MB / 0.683 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004815/0.6119, allocations: 2.601 MB / 0.6855 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00215/0.6141, allocations: 1.206 MB / 0.6867 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.616, allocations: 1.274 MB / 0.6879 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002417/0.6185, allocations: 1.261 MB / 0.6892 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.619, allocations: 231.9 kB / 0.6894 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006341/0.6254, allocations: 2.223 MB / 0.6916 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007281/0.6261, allocations: 0.5647 MB / 0.6921 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.6274, allocations: 0.988 MB / 0.6931 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.638, allocations: 5.115 MB / 0.6981 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.6381, allocations: 4 kB / 0.6981 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6381, allocations: 0 / 0.6981 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.535e-05/0.6381, allocations: 3.938 kB / 0.6981 GB, free: 1.535 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.005352/0.6434, allocations: 2.827 MB / 0.7008 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.6435, allocations: 12.03 kB / 0.7009 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000347/0.6438, allocations: 274.6 kB / 0.7011 GB, free: 14.38 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.6482, allocations: 0.8581 MB / 0.702 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/0.6503, allocations: 0.9172 MB / 0.7028 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.6506, allocations: 251.2 kB / 0.7031 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.651, allocations: 204.3 kB / 0.7033 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004007/0.655, allocations: 2.148 MB / 0.7054 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.655, allocations: 11.88 kB / 0.7054 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/0.6552, allocations: 83.98 kB / 0.7055 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.504e-05/0.6553, allocations: 48 kB / 0.7055 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00472/0.66, allocations: 2.284 MB / 0.7077 GB, free: 7.48 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.01255/0.6725, allocations: 6.056 MB / 0.7137 GB, free: 1.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004388/0.6769, allocations: 1.557 MB / 0.7152 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.6783, allocations: 0.7351 MB / 0.7159 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008434/0.6867, allocations: 3.922 MB / 0.7197 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.6867, allocations: 55.88 kB / 0.7198 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.947e-06/0.6867, allocations: 0 / 0.7198 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01869/0.7054, allocations: 6.512 MB / 0.7261 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.7055, allocations: 103.1 kB / 0.7262 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.7068, allocations: 0.9883 MB / 0.7272 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.7069, allocations: 61.64 kB / 0.7273 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006875/0.7076, allocations: 0.8947 MB / 0.7281 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/0.7082, allocations: 0.6274 MB / 0.7288 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/0.7088, allocations: 403.5 kB / 0.7291 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.7089, allocations: 305.1 kB / 0.7294 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.7102, allocations: 0.6248 MB / 0.73 GB, free: 284 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2152/0.9254, allocations: 1.183 MB / 0.7312 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.9287, allocations: 1.993 MB / 0.7331 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/0.9287, allocations: 5.281 kB / 0.7331 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005375/0.9341, allocations: 2.582 MB / 0.7357 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.9341, allocations: 12.56 kB / 0.7357 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/0.9341, allocations: 18.34 kB / 0.7357 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.9363, allocations: 0.5885 MB / 0.7363 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/0.9386, allocations: 485.2 kB / 0.7367 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.9474, allocations: 8.9 MB / 0.7454 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.949, allocations: 65.84 kB / 0.7455 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003055/0.9493, allocations: 163.9 kB / 0.7456 GB, free: 174.5 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.0009074/0.9502, allocations: 429.8 kB / 0.7461 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.9505, allocations: 155.1 kB / 0.7462 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/0.9561, allocations: 2.618 MB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/0.9561, allocations: 19.44 kB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.9562, allocations: 3.938 kB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.341e-05/0.9562, allocations: 10.06 kB / 0.7488 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/0.9632, allocations: 3.898 MB / 0.7526 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.9632, allocations: 1.469 kB / 0.7526 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.9652, allocations: 382.5 kB / 0.753 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.9672, allocations: 0.4905 MB / 0.7534 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/0.9674, allocations: 75.95 kB / 0.7535 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006917/0.9744, allocations: 6.334 MB / 0.7597 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.9744, allocations: 3.312 kB / 0.7597 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008154/0.9825, allocations: 3.147 MB / 0.7628 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/0.9832, allocations: 137.8 kB / 0.7629 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.9834, allocations: 34.33 kB / 0.7629 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008134/0.9842, allocations: 41.59 kB / 0.763 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005093/0.9847, allocations: 173.1 kB / 0.7631 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/0.985, allocations: 128.8 kB / 0.7633 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001327/0.9863, allocations: 0.6214 MB / 0.7639 GB, free: 164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9863, allocations: 0 / 0.7639 GB, free: 164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004172/0.9905, allocations: 0.8337 MB / 0.7647 GB, free: 163.9 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.007691/0.9982, allocations: 4.412 MB / 0.769 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004238/1.002, allocations: 2.322 MB / 0.7713 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.002, allocations: 0 / 0.7713 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002013/1.004, allocations: 1.316 MB / 0.7725 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.006, allocations: 319.5 kB / 0.7729 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/1.024, allocations: 14.13 MB / 0.7867 GB, free: 148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006832/1.025, allocations: 0.8254 MB / 0.7875 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00159/1.027, allocations: 450 kB / 0.7879 GB, free: 146.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.028, allocations: 0.8909 MB / 0.7888 GB, free: 146 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/1.028, allocations: 0 / 0.7888 GB, free: 146 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09044/1.118, allocations: 51.77 MB / 0.8393 GB, free: 95.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.5, allocations: 0 / 0.8393 GB, free: 95.33 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 & /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: 19.37706984113902] Failed to read output from testmodel.py, exit status != 0: 16.66221382888034 16.681595511 16.039766397 Calling exit ...