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: translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001212/0.001212, allocations: 190.1 kB / 16.14 MB, free: 6.703 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2125/0.2125, allocations: 15.3 MB / 305.3 MB, free: 15.36 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 369.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1228, allocations: 53.62 MB / 423.3 MB, free: 14.81 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.4276/0.5504, allocations: 28.42 MB / 451.7 MB, free: 38.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1681/0.7185, allocations: 151 MB / 0.5886 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.7212, allocations: 47.69 kB / 0.5886 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.723, allocations: 441.2 kB / 0.589 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00531/0.7283, allocations: 1.459 MB / 0.5905 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008984/0.7373, allocations: 2.542 MB / 0.593 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004533/0.7419, allocations: 2.511 MB / 0.5954 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/0.744, allocations: 1.317 MB / 0.5967 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.7461, allocations: 1.258 MB / 0.5979 GB, free: 3.168 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002771/0.7489, allocations: 1.429 MB / 0.5993 GB, free: 1.734 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008234/0.7498, allocations: 152 kB / 0.5995 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2869/1.037, allocations: 2.315 MB / 0.6017 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/1.038, allocations: 0.5196 MB / 0.6022 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002139/1.04, allocations: 1.135 MB / 0.6033 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01248/1.052, allocations: 5.02 MB / 0.6082 GB, free: 8.285 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.052, allocations: 0 / 0.6082 GB, free: 8.285 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.955e-06/1.053, allocations: 6.094 kB / 0.6082 GB, free: 8.285 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.402e-05/1.053, allocations: 0 / 0.6082 GB, free: 8.285 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.005512/1.058, allocations: 2.825 MB / 0.611 GB, free: 7.027 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.058, allocations: 9.906 kB / 0.611 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004315/1.062, allocations: 0.843 MB / 0.6118 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/1.064, allocations: 0.9454 MB / 0.6128 GB, free: 6.508 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/1.065, allocations: 205 kB / 0.613 GB, free: 6.441 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/1.065, allocations: 201.1 kB / 0.6132 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003664/1.069, allocations: 2.155 MB / 0.6153 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/1.069, allocations: 0 / 0.6153 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/1.069, allocations: 76.97 kB / 0.6153 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/1.069, allocations: 50.64 kB / 0.6154 GB, free: 6.258 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004264/1.073, allocations: 2.304 MB / 0.6176 GB, free: 6.242 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.01525/1.089, allocations: 7.662 MB / 0.6251 GB, free: 19.16 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005814/1.094, allocations: 2.196 MB / 0.6273 GB, free: 18.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/1.096, allocations: 0.8273 MB / 0.6281 GB, free: 18.42 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01246/1.109, allocations: 6.652 MB / 0.6346 GB, free: 14.67 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.109, allocations: 53.44 kB / 0.6346 GB, free: 14.63 MB / 478.1 MB Notification: Performance of pre-optimization done (n=133): time 3.957e-06/1.109, allocations: 0 / 0.6346 GB, free: 14.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=176): time 0.02428/1.133, allocations: 6.948 MB / 0.6414 GB, free: 13.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/1.133, allocations: 95.89 kB / 0.6415 GB, free: 12.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/1.135, allocations: 0.9553 MB / 0.6424 GB, free: 12.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003343/1.135, allocations: 56.77 kB / 0.6425 GB, free: 12.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006268/1.136, allocations: 0.8747 MB / 0.6433 GB, free: 12.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007087/1.137, allocations: 0.5962 MB / 0.6439 GB, free: 11.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000843/1.137, allocations: 411.6 kB / 0.6443 GB, free: 11.92 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/1.138, allocations: 308.3 kB / 0.6446 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/1.139, allocations: 0.635 MB / 0.6452 GB, free: 11.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/1.14, allocations: 1.201 MB / 0.6464 GB, free: 10.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/1.143, allocations: 1.999 MB / 0.6483 GB, free: 10.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.532e-05/1.143, allocations: 5.531 kB / 0.6483 GB, free: 10.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006097/1.15, allocations: 2.626 MB / 0.6509 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.15, allocations: 15.88 kB / 0.6509 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/1.15, allocations: 15.81 kB / 0.6509 GB, free: 10.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/1.152, allocations: 0.6331 MB / 0.6516 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.154, allocations: 481.6 kB / 0.652 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/1.165, allocations: 8.793 MB / 0.6606 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/1.168, allocations: 121.5 kB / 0.6607 GB, free: 3.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005906/1.168, allocations: 158.9 kB / 0.6609 GB, free: 3.676 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.001811/1.17, allocations: 427.4 kB / 0.6613 GB, free: 3.551 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008057/1.171, allocations: 156.7 kB / 0.6614 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007914/1.179, allocations: 2.742 MB / 0.6641 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/1.179, allocations: 17.56 kB / 0.6641 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.728e-05/1.179, allocations: 3.062 kB / 0.6641 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/1.179, allocations: 15.22 kB / 0.6641 GB, free: 2.508 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.19, allocations: 4.266 MB / 0.6683 GB, free: 368 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.19, allocations: 7.266 kB / 0.6683 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/1.192, allocations: 367.4 kB / 0.6687 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/1.194, allocations: 0.5873 MB / 0.6692 GB, free: 0 / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003386/1.195, allocations: 79.2 kB / 0.6693 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008814/1.204, allocations: 8.079 MB / 0.6772 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.204, allocations: 3.812 kB / 0.6772 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007101/1.211, allocations: 3.282 MB / 0.6804 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005525/1.211, allocations: 212.8 kB / 0.6806 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000409/1.212, allocations: 39.69 kB / 0.6807 GB, free: 6.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.213, allocations: 66.41 kB / 0.6807 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004143/1.213, allocations: 163.5 kB / 0.6809 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/1.214, allocations: 130.1 kB / 0.681 GB, free: 6.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000985/1.215, allocations: 0.6225 MB / 0.6816 GB, free: 6.016 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.215, allocations: 0 / 0.6816 GB, free: 6.016 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003573/1.218, allocations: 0.8383 MB / 0.6824 GB, free: 5.82 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.002417/1.221, allocations: 0.802 MB / 0.6832 GB, free: 5.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005133/1.226, allocations: 2.464 MB / 0.6856 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.226, allocations: 1.203 kB / 0.6856 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003187/1.229, allocations: 1.584 MB / 0.6872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/1.232, allocations: 281.4 kB / 0.6874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/1.241, allocations: 4.465 MB / 0.6918 GB, free: 12.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.242, allocations: 1.413 MB / 0.6932 GB, free: 11.28 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.002442/1.244, allocations: 430.4 kB / 0.6936 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009292/1.245, allocations: 279.6 kB / 0.6938 GB, free: 10.72 MB / 0.4982 GB Notification: Performance of SimCode: time 1.884e-06/1.245, allocations: 0 / 0.6938 GB, free: 10.72 MB / 0.4982 GB Notification: Performance of Templates: time 0.06008/1.305, allocations: 34.75 MB / 0.7278 GB, free: 8.406 MB / 0.5294 GB make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile (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 & ./Chemical_Chemical.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)