Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Examples_HydrogenCombustion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005223/0.005223, allocations: 100.4 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 192.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2349/0.2349, allocations: 15.31 MB / 305.9 MB, free: 15.25 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 424.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2757, allocations: 53.6 MB / 478.3 MB, free: 25.61 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.HydrogenCombustion): time 0.03711/0.3128, allocations: 28.34 MB / 0.4948 GB, free: 6.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4494/0.7622, allocations: 153.2 MB / 0.6444 GB, free: 6.699 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.7643, allocations: 26.28 kB / 0.6444 GB, free: 6.691 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.7658, allocations: 0.514 MB / 0.6449 GB, free: 6.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.7707, allocations: 1.661 MB / 0.6465 GB, free: 5.816 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008453/0.7792, allocations: 2.991 MB / 0.6495 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005047/0.7842, allocations: 2.592 MB / 0.652 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.7867, allocations: 1.52 MB / 0.6535 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.7889, allocations: 1.252 MB / 0.6547 GB, free: 3.965 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.7911, allocations: 1.38 MB / 0.656 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004606/0.7915, allocations: 226.6 kB / 0.6563 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.8017, allocations: 2.324 MB / 0.6585 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.8029, allocations: 0.5649 MB / 0.6591 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001779/0.8047, allocations: 1.182 MB / 0.6602 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.818, allocations: 4.963 MB / 0.6651 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.818, allocations: 3.219 kB / 0.6651 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.818, allocations: 0 / 0.6651 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.317e-05/0.8181, allocations: 0 / 0.6651 GB, free: 0.8984 MB / 478.1 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.005004/0.8231, allocations: 2.828 MB / 0.6678 GB, free: 15.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.8232, allocations: 7.781 kB / 0.6679 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002718/0.8234, allocations: 279.5 kB / 0.6681 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.8274, allocations: 0.8438 MB / 0.6689 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.829, allocations: 0.962 MB / 0.6699 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001525/0.8292, allocations: 205.5 kB / 0.6701 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.8295, allocations: 199.6 kB / 0.6703 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.8327, allocations: 2.151 MB / 0.6724 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.8327, allocations: 0 / 0.6724 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.8329, allocations: 78.84 kB / 0.6724 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/0.8329, allocations: 52.22 kB / 0.6725 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.8368, allocations: 2.314 MB / 0.6748 GB, free: 12.68 MB / 494.1 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.01062/0.8474, allocations: 7.631 MB / 0.6822 GB, free: 6.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004062/0.8515, allocations: 2.203 MB / 0.6844 GB, free: 5.148 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.8527, allocations: 0.8391 MB / 0.6852 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00799/0.8607, allocations: 6.635 MB / 0.6917 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.8608, allocations: 49.16 kB / 0.6917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.006e-06/0.8608, allocations: 0 / 0.6917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=176): time 0.01782/0.8786, allocations: 6.951 MB / 0.6985 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.8787, allocations: 99.09 kB / 0.6986 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.8799, allocations: 0.9611 MB / 0.6995 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.88, allocations: 57.7 kB / 0.6996 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.8805, allocations: 0.8743 MB / 0.7004 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000455/0.881, allocations: 0.6003 MB / 0.701 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005695/0.8816, allocations: 407.5 kB / 0.7014 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.8817, allocations: 305.1 kB / 0.7017 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.8828, allocations: 0.6288 MB / 0.7023 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.8843, allocations: 1.201 MB / 0.7035 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/0.8872, allocations: 2.007 MB / 0.7054 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.8873, allocations: 4 kB / 0.7054 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005241/0.8925, allocations: 2.621 MB / 0.708 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.8926, allocations: 20.19 kB / 0.708 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.8926, allocations: 21.34 kB / 0.708 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.895, allocations: 0.634 MB / 0.7087 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.8971, allocations: 487.2 kB / 0.7091 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009455/0.9066, allocations: 9.512 MB / 0.7184 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.9081, allocations: 67.92 kB / 0.7185 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.9084, allocations: 168 kB / 0.7186 GB, free: 5.172 MB / 0.5137 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,10,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,11), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007703/0.9092, allocations: 421.2 kB / 0.719 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.9095, allocations: 150.1 kB / 0.7192 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006077/0.9156, allocations: 2.735 MB / 0.7219 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.9156, allocations: 20 kB / 0.7219 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.9156, allocations: 6.688 kB / 0.7219 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.952e-05/0.9157, allocations: 19.89 kB / 0.7219 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00777/0.9234, allocations: 4.257 MB / 0.7261 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/0.9235, allocations: 7.938 kB / 0.7261 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.9255, allocations: 359.7 kB / 0.7264 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.9279, allocations: 0.5966 MB / 0.727 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/0.9281, allocations: 75.95 kB / 0.7271 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007782/0.9359, allocations: 8.649 MB / 0.7355 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9359, allocations: 0 / 0.7355 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005996/0.9419, allocations: 3.284 MB / 0.7387 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003657/0.9423, allocations: 211.1 kB / 0.7389 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.9425, allocations: 39.94 kB / 0.739 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.9433, allocations: 36 kB / 0.739 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.9437, allocations: 173.7 kB / 0.7392 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.9439, allocations: 124 kB / 0.7393 GB, free: 15.31 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007552/0.9446, allocations: 0.6257 MB / 0.7399 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9446, allocations: 0 / 0.7399 GB, free: 14.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002478/0.9471, allocations: 0.8355 MB / 0.7407 GB, free: 13.84 MB / 0.545 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 (147): * Single equations (assignments): 141 * 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,6,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,10), (1,8), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00785/0.955, allocations: 4.511 MB / 0.7451 GB, free: 9.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003967/0.959, allocations: 2.472 MB / 0.7475 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.959, allocations: 0 / 0.7475 GB, free: 6.824 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.9614, allocations: 1.571 MB / 0.7491 GB, free: 5.207 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.963, allocations: 318.7 kB / 0.7494 GB, free: 4.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/0.9857, allocations: 14.23 MB / 0.7633 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.9867, allocations: 1.406 MB / 0.7646 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001472/0.9882, allocations: 429.2 kB / 0.765 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001232/0.9895, allocations: 0.8973 MB / 0.7659 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.9895, allocations: 0 / 0.7659 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.09, allocations: 50.98 MB / 0.8157 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.75/23.84, allocations: 15.91 kB / 0.8157 GB, free: 0.5977 MB / 0.6075 GB (rm -f Chemical_Chemical.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Examples.HydrogenCombustion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_HydrogenCombustion_fmu --startTime=0 --stopTime=0.39 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_HydrogenCombustion.fmu > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)