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.001344/0.001344, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001692/0.001692, allocations: 218.9 kB / 23.04 MB, free: 5.074 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1458/0.1458, allocations: 23.88 MB / 337.1 MB, free: 11.17 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="cs",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.002034/0.002034, allocations: 71.89 kB / 472 MB, free: 7.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3666, allocations: 59.87 MB / 0.5194 GB, free: 9.637 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.05022/0.4168, allocations: 29.4 MB / 0.5481 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2082/0.625, allocations: 156.6 MB / 0.701 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.6268, allocations: 31.75 kB / 0.701 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.6287, allocations: 0.5156 MB / 0.7016 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006053/0.6347, allocations: 1.672 MB / 0.7032 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009068/0.6438, allocations: 3.003 MB / 0.7061 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004585/0.6484, allocations: 2.605 MB / 0.7087 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002276/0.6507, allocations: 1.229 MB / 0.7099 GB, free: 6.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.6528, allocations: 1.274 MB / 0.7111 GB, free: 5.195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.6555, allocations: 1.413 MB / 0.7125 GB, free: 3.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0008126/0.6563, allocations: 228 kB / 0.7127 GB, free: 3.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007196/0.6635, allocations: 2.391 MB / 0.715 GB, free: 1.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000928/0.6644, allocations: 0.5686 MB / 0.7156 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001846/0.6662, allocations: 1.186 MB / 0.7168 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01137/0.6776, allocations: 5.134 MB / 0.7218 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6776, allocations: 0 / 0.7218 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.073e-06/0.6776, allocations: 0 / 0.7218 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.281e-05/0.6777, allocations: 4 kB / 0.7218 GB, free: 10.24 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.00667/0.6844, allocations: 2.823 MB / 0.7245 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6844, allocations: 12.03 kB / 0.7245 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.674e-05/0.6845, allocations: 48.05 kB / 0.7246 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004156/0.6849, allocations: 278.6 kB / 0.7248 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.6898, allocations: 0.8737 MB / 0.7257 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.6924, allocations: 0.9133 MB / 0.7266 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.6927, allocations: 255.2 kB / 0.7268 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/0.6932, allocations: 208 kB / 0.727 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004238/0.6974, allocations: 2.148 MB / 0.7291 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.6974, allocations: 0 / 0.7291 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/0.6976, allocations: 76 kB / 0.7292 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.6977, allocations: 48 kB / 0.7293 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.7021, allocations: 2.311 MB / 0.7315 GB, free: 112 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.2358/0.9379, allocations: 7.537 MB / 0.7389 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00466/0.9426, allocations: 1.567 MB / 0.7404 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/0.9443, allocations: 0.7356 MB / 0.7411 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008584/0.9529, allocations: 4.14 MB / 0.7452 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.9529, allocations: 45.44 kB / 0.7452 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.396e-06/0.9529, allocations: 0 / 0.7452 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01842/0.9714, allocations: 6.526 MB / 0.7516 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.9714, allocations: 100.3 kB / 0.7517 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.9726, allocations: 0.9591 MB / 0.7526 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/0.9728, allocations: 61.67 kB / 0.7527 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004041/0.9732, allocations: 0.8961 MB / 0.7535 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.9737, allocations: 0.6213 MB / 0.7541 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006095/0.9743, allocations: 409.1 kB / 0.7545 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.9743, allocations: 302.4 kB / 0.7548 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.9755, allocations: 0.6234 MB / 0.7554 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.9769, allocations: 1.195 MB / 0.7566 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.9796, allocations: 1.986 MB / 0.7585 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.9796, allocations: 7.5 kB / 0.7586 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005445/0.9851, allocations: 2.573 MB / 0.7611 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.9851, allocations: 13.53 kB / 0.7611 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/0.9851, allocations: 17.38 kB / 0.7611 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.9873, allocations: 0.6047 MB / 0.7617 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/0.9898, allocations: 487.9 kB / 0.7621 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008515/0.9983, allocations: 8.946 MB / 0.7709 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1, allocations: 80.78 kB / 0.771 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/1, allocations: 158.2 kB / 0.7711 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.0008434/1.001, allocations: 435.1 kB / 0.7715 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003442/1.001, allocations: 149.9 kB / 0.7717 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005242/1.007, allocations: 2.62 MB / 0.7742 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.007, allocations: 19.81 kB / 0.7742 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.007, allocations: 3.969 kB / 0.7743 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.007, allocations: 14.77 kB / 0.7743 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/1.013, allocations: 4.098 MB / 0.7783 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-05/1.013, allocations: 3.531 kB / 0.7783 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/1.015, allocations: 383 kB / 0.7786 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/1.017, allocations: 0.4946 MB / 0.7791 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/1.017, allocations: 85.02 kB / 0.7792 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/1.022, allocations: 6.354 MB / 0.7854 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.022, allocations: 7.969 kB / 0.7854 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005387/1.028, allocations: 3.148 MB / 0.7885 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/1.028, allocations: 138.9 kB / 0.7886 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.028, allocations: 36 kB / 0.7887 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009113/1.029, allocations: 43.3 kB / 0.7887 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003609/1.03, allocations: 173.6 kB / 0.7889 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.03, allocations: 124 kB / 0.789 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007545/1.03, allocations: 0.6218 MB / 0.7896 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.03, allocations: 2.656 kB / 0.7896 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002994/1.033, allocations: 0.8303 MB / 0.7904 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.006886/1.04, allocations: 4.417 MB / 0.7947 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00391/1.044, allocations: 2.324 MB / 0.797 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.044, allocations: 2.688 kB / 0.797 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.046, allocations: 1.326 MB / 0.7983 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/1.048, allocations: 302.6 kB / 0.7986 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.069, allocations: 14.14 MB / 0.8124 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/1.07, allocations: 1.398 MB / 0.8137 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001516/1.071, allocations: 443.3 kB / 0.8142 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001114/1.072, allocations: 0.8951 MB / 0.815 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.82e-07/1.072, allocations: 0 / 0.815 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.18, allocations: 52.56 MB / 0.8664 GB, free: 69.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.22/26.4, allocations: 4.062 kB / 0.8664 GB, free: 69.8 MB / 0.5606 GB " [Timeout remaining time 633] (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 sys.exit(0), Time elapsed: 29.53438854496926] Failed to read output from testmodel.py, exit status != 0: 26.611865943996236 26.628938261 25.947607209 Calling exit ...