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.001431/0.001431, allocations: 110.4 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.001716/0.001716, allocations: 216.5 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.992 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.1495/0.1495, allocations: 23.85 MB / 336.3 MB, free: 11.21 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.002065/0.002065, allocations: 71.89 kB / 471.2 MB, free: 7.691 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3755, allocations: 59.85 MB / 0.5186 GB, free: 9.617 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.04598/0.4215, allocations: 29.58 MB / 0.5475 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.63, allocations: 156.6 MB / 0.7004 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.6323, allocations: 31.75 kB / 0.7004 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.6345, allocations: 0.5156 MB / 0.7009 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.6407, allocations: 1.668 MB / 0.7025 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01011/0.6508, allocations: 3.003 MB / 0.7055 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005569/0.6563, allocations: 2.617 MB / 0.708 GB, free: 7.598 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002566/0.6589, allocations: 1.229 MB / 0.7092 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002537/0.6615, allocations: 1.27 MB / 0.7105 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.6641, allocations: 1.421 MB / 0.7118 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/0.6645, allocations: 224 kB / 0.7121 GB, free: 3.406 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008526/0.673, allocations: 2.391 MB / 0.7144 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009618/0.674, allocations: 0.5725 MB / 0.715 GB, free: 448 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.6758, allocations: 1.178 MB / 0.7161 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.6898, allocations: 5.134 MB / 0.7211 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.6898, allocations: 3.938 kB / 0.7211 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6898, allocations: 0 / 0.7211 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.429e-05/0.6899, allocations: 0 / 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.006077/0.696, allocations: 2.823 MB / 0.7239 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.696, allocations: 8.031 kB / 0.7239 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003565/0.6964, allocations: 274.6 kB / 0.7241 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.7009, allocations: 0.8659 MB / 0.725 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.7028, allocations: 0.9172 MB / 0.7259 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.7031, allocations: 255.2 kB / 0.7261 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003488/0.7035, allocations: 200.3 kB / 0.7263 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.7074, allocations: 2.152 MB / 0.7284 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.867e-05/0.7075, allocations: 0 / 0.7284 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.7077, allocations: 84 kB / 0.7285 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-05/0.7077, allocations: 44 kB / 0.7285 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.7119, allocations: 2.307 MB / 0.7308 GB, free: 28 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.3152/1.027, allocations: 7.543 MB / 0.7382 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004228/1.031, allocations: 1.572 MB / 0.7397 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.032, allocations: 0.7371 MB / 0.7404 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00834/1.041, allocations: 4.133 MB / 0.7445 GB, free: 180 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.041, allocations: 49.8 kB / 0.7445 GB, free: 180 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 2.985e-06/1.041, allocations: 1.219 kB / 0.7445 GB, free: 180 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01734/1.058, allocations: 6.52 MB / 0.7509 GB, free: 177.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.058, allocations: 100.5 kB / 0.751 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/1.059, allocations: 0.9605 MB / 0.7519 GB, free: 176.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/1.06, allocations: 55.61 kB / 0.752 GB, free: 176.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/1.06, allocations: 0.9037 MB / 0.7528 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/1.06, allocations: 0.6266 MB / 0.7535 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005204/1.061, allocations: 408.8 kB / 0.7538 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.851e-05/1.061, allocations: 306.3 kB / 0.7541 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/1.062, allocations: 0.6221 MB / 0.7547 GB, free: 175 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.063, allocations: 1.194 MB / 0.7559 GB, free: 174 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/1.066, allocations: 1.99 MB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/1.066, allocations: 7.938 kB / 0.7579 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005239/1.071, allocations: 2.566 MB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.82e-05/1.071, allocations: 13.31 kB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/1.071, allocations: 16.94 kB / 0.7604 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/1.074, allocations: 0.6035 MB / 0.761 GB, free: 171.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002219/1.076, allocations: 484.9 kB / 0.7614 GB, free: 171.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007731/1.083, allocations: 8.96 MB / 0.7702 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.085, allocations: 70.61 kB / 0.7703 GB, free: 163 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/1.085, allocations: 163 kB / 0.7704 GB, free: 163 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.0009961/1.086, allocations: 434.6 kB / 0.7708 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/1.087, allocations: 160.7 kB / 0.771 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005371/1.092, allocations: 2.611 MB / 0.7735 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/1.092, allocations: 19 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.128e-06/1.092, allocations: 3.688 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.092, allocations: 11.95 kB / 0.7736 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/1.099, allocations: 4.102 MB / 0.7776 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.099, allocations: 3.781 kB / 0.7776 GB, free: 158.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001872/1.101, allocations: 384 kB / 0.7779 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00181/1.103, allocations: 0.49 MB / 0.7784 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/1.103, allocations: 81.48 kB / 0.7785 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005058/1.108, allocations: 6.359 MB / 0.7847 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.108, allocations: 4.031 kB / 0.7847 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004943/1.113, allocations: 3.148 MB / 0.7878 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/1.113, allocations: 145.6 kB / 0.7879 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/1.113, allocations: 38.66 kB / 0.788 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/1.114, allocations: 35.98 kB / 0.788 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.114, allocations: 177.6 kB / 0.7882 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.115, allocations: 124 kB / 0.7883 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006456/1.115, allocations: 0.6283 MB / 0.7889 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.115, allocations: 0 / 0.7889 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002792/1.118, 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.00624/1.124, allocations: 4.403 MB / 0.794 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003476/1.128, allocations: 2.331 MB / 0.7963 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.128, allocations: 0 / 0.7963 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.13, allocations: 1.318 MB / 0.7976 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.001566/1.131, allocations: 309.4 kB / 0.7979 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.151, allocations: 14.14 MB / 0.8117 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/1.152, allocations: 1.41 MB / 0.8131 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001431/1.153, allocations: 443.9 kB / 0.8135 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.154, allocations: 0.8887 MB / 0.8144 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/1.154, allocations: 0 / 0.8144 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09866/1.253, allocations: 52.52 MB / 0.8656 GB, free: 69.83 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.82/26.07, allocations: 10.25 kB / 0.8657 GB, free: 69.82 MB / 0.5606 GB " [Timeout remaining time 634] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --stepSize=0.000156 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_HydrogenCombustion.fmu > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.119045722065493] Failed to read output from testmodel.py, exit status != 0: 26.228151567978784 26.250900095 25.556538941 Calling exit ...