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.0009902/0.0009902, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009878/0.0009877, allocations: 194.6 kB / 16.14 MB, free: 6.656 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1918/0.1918, allocations: 15.31 MB / 305.3 MB, free: 15.33 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 60.14 kB / 369.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.0931, allocations: 53.62 MB / 423.4 MB, free: 14.66 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.3498/0.443, allocations: 29.07 MB / 452.4 MB, free: 38.94 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1344/0.5774, allocations: 151 MB / 0.5893 GB, free: 12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.5793, allocations: 39.75 kB / 0.5894 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.5811, allocations: 445.2 kB / 0.5898 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00495/0.5861, allocations: 1.444 MB / 0.5912 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007071/0.5931, allocations: 2.55 MB / 0.5937 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.5959, allocations: 2.515 MB / 0.5961 GB, free: 4.984 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.5972, allocations: 1.309 MB / 0.5974 GB, free: 3.629 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.5984, allocations: 1.266 MB / 0.5987 GB, free: 2.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.5997, allocations: 1.433 MB / 0.6001 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.6, allocations: 148 kB / 0.6002 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2155/0.8156, allocations: 2.315 MB / 0.6025 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006585/0.8163, allocations: 0.5145 MB / 0.603 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.8176, allocations: 1.134 MB / 0.6041 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007621/0.8252, allocations: 5.022 MB / 0.609 GB, free: 8.055 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8252, allocations: 3.188 kB / 0.609 GB, free: 8.055 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.8252, allocations: 0 / 0.609 GB, free: 8.055 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.8252, allocations: 0 / 0.609 GB, free: 8.055 MB / 462.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.003846/0.8291, allocations: 2.825 MB / 0.6117 GB, free: 6.797 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.8291, allocations: 12.5 kB / 0.6117 GB, free: 6.797 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002587/0.8294, allocations: 274.3 kB / 0.612 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/0.833, allocations: 0.8427 MB / 0.6128 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.8341, allocations: 0.9474 MB / 0.6138 GB, free: 6.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.8342, allocations: 203.1 kB / 0.614 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.8345, allocations: 203.6 kB / 0.6141 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002793/0.8373, allocations: 2.146 MB / 0.6162 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.8373, allocations: 0 / 0.6162 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/0.8375, allocations: 76.97 kB / 0.6163 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.626e-05/0.8375, allocations: 49.88 kB / 0.6164 GB, free: 5.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003245/0.8408, allocations: 2.309 MB / 0.6186 GB, free: 5.965 MB / 462.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.009694/0.8505, allocations: 7.662 MB / 0.6261 GB, free: 18.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/0.8551, allocations: 2.197 MB / 0.6282 GB, free: 18.16 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.8564, allocations: 0.8323 MB / 0.6291 GB, free: 18.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008764/0.8652, allocations: 6.647 MB / 0.6356 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.8653, allocations: 50.48 kB / 0.6356 GB, free: 14.35 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 2.805e-06/0.8653, allocations: 0 / 0.6356 GB, free: 14.35 MB / 478.1 MB Notification: Performance of matching and sorting (n=176): time 0.01739/0.8827, allocations: 6.951 MB / 0.6424 GB, free: 12.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.8827, allocations: 95.98 kB / 0.6425 GB, free: 12.71 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/0.8837, allocations: 0.963 MB / 0.6434 GB, free: 12.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.8838, allocations: 56.11 kB / 0.6435 GB, free: 12.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.8842, allocations: 0.8764 MB / 0.6443 GB, free: 12.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.8845, allocations: 0.5972 MB / 0.6449 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004485/0.885, allocations: 406.1 kB / 0.6453 GB, free: 11.63 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.885, allocations: 306.8 kB / 0.6456 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.8861, allocations: 0.6287 MB / 0.6462 GB, free: 11.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.8873, allocations: 1.2 MB / 0.6474 GB, free: 10.67 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.8897, allocations: 2.006 MB / 0.6493 GB, free: 10.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.8897, allocations: 5.969 kB / 0.6493 GB, free: 10.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004985/0.8947, allocations: 2.625 MB / 0.6519 GB, free: 9.785 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.8947, allocations: 13.03 kB / 0.6519 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.8948, allocations: 17.94 kB / 0.6519 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.897, allocations: 0.628 MB / 0.6525 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.8991, allocations: 485.7 kB / 0.653 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.9076, allocations: 8.791 MB / 0.6616 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.9091, allocations: 122.5 kB / 0.6617 GB, free: 3.238 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.9094, allocations: 160.6 kB / 0.6619 GB, free: 3.223 MB / 478.1 MB 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.0008746/0.9102, allocations: 436.4 kB / 0.6623 GB, free: 2.941 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.9105, allocations: 148.1 kB / 0.6624 GB, free: 2.863 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005962/0.9165, allocations: 2.732 MB / 0.6651 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.9165, allocations: 18.16 kB / 0.6651 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.9165, allocations: 8.688 kB / 0.6651 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.9166, allocations: 8.969 kB / 0.6651 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007209/0.9238, allocations: 4.28 MB / 0.6693 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.9238, allocations: 3.375 kB / 0.6693 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001792/0.9256, allocations: 366.4 kB / 0.6697 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002333/0.9279, allocations: 0.5851 MB / 0.6702 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001641/0.9281, allocations: 81.17 kB / 0.6703 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007994/0.9361, allocations: 8.084 MB / 0.6782 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9361, allocations: 2.906 kB / 0.6782 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005837/0.942, allocations: 3.275 MB / 0.6814 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.9425, allocations: 214.6 kB / 0.6816 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/0.9427, allocations: 35.59 kB / 0.6816 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.9437, allocations: 69.22 kB / 0.6817 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003552/0.944, allocations: 167.6 kB / 0.6819 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/0.9442, allocations: 126 kB / 0.682 GB, free: 5.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007487/0.945, allocations: 0.6228 MB / 0.6826 GB, free: 5.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.72e-07/0.945, allocations: 0 / 0.6826 GB, free: 5.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002561/0.9475, allocations: 0.8446 MB / 0.6834 GB, free: 4.961 MB / 494.1 MB 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.007838/0.9554, allocations: 4.535 MB / 0.6878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004046/0.9595, allocations: 2.463 MB / 0.6903 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.9595, allocations: 0 / 0.6903 GB, free: 14.12 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.9619, allocations: 1.585 MB / 0.6918 GB, free: 12.52 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.9635, allocations: 279.7 kB / 0.6921 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02351/0.987, allocations: 15.99 MB / 0.7077 GB, free: 11.57 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009902/0.988, allocations: 1.41 MB / 0.7091 GB, free: 10.14 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.002096/0.9901, allocations: 438.7 kB / 0.7095 GB, free: 9.797 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.9915, allocations: 0.8897 MB / 0.7103 GB, free: 8.906 MB / 0.5138 GB Notification: Performance of SimCode: time 1.062e-06/0.9915, allocations: 9.031 kB / 0.7104 GB, free: 8.898 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06829/1.06, allocations: 48.79 MB / 0.758 GB, free: 8.676 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.06, allocations: 215.5 kB / 0.7582 GB, free: 8.414 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/4.16, allocations: 0 / 0.7582 GB, free: 8.414 MB / 0.5607 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)