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.00724/0.00724, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001726/0.001726, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2325/0.2325, allocations: 15.32 MB / 305.9 MB, free: 15.27 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 59.91 kB / 424.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.304, allocations: 53.6 MB / 478.3 MB, free: 25.59 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.03808/0.3421, allocations: 28.88 MB / 0.4953 GB, free: 5.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4566/0.7987, allocations: 153.2 MB / 0.6449 GB, free: 7.148 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.8012, allocations: 28.28 kB / 0.645 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.8033, allocations: 0.5041 MB / 0.6455 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.8103, allocations: 1.64 MB / 0.6471 GB, free: 6.266 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.8227, allocations: 2.946 MB / 0.6499 GB, free: 5.383 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005577/0.8283, allocations: 2.591 MB / 0.6525 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.8313, allocations: 1.519 MB / 0.6539 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.8339, allocations: 1.251 MB / 0.6552 GB, free: 4.363 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.8369, allocations: 1.381 MB / 0.6565 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.838, allocations: 227.4 kB / 0.6567 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008951/0.8469, allocations: 2.324 MB / 0.659 GB, free: 3.641 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001047/0.848, allocations: 0.5661 MB / 0.6596 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002442/0.8505, allocations: 1.182 MB / 0.6607 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.8625, allocations: 4.977 MB / 0.6656 GB, free: 1.262 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8625, allocations: 3.5 kB / 0.6656 GB, free: 1.262 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.8625, allocations: 0 / 0.6656 GB, free: 1.262 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.748e-05/0.8626, allocations: 0 / 0.6656 GB, free: 1.262 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.004871/0.8675, allocations: 2.902 MB / 0.6684 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8675, allocations: 7.438 kB / 0.6684 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002846/0.8678, allocations: 276.2 kB / 0.6687 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004071/0.8719, allocations: 0.8634 MB / 0.6695 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.8736, allocations: 0.9739 MB / 0.6705 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.8738, allocations: 212.6 kB / 0.6707 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/0.8741, allocations: 197 kB / 0.6709 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.8775, allocations: 2.151 MB / 0.673 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.8775, allocations: 2.5 kB / 0.673 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.8777, allocations: 77.09 kB / 0.673 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.8778, allocations: 47.34 kB / 0.6731 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003798/0.8816, allocations: 2.304 MB / 0.6753 GB, free: 12.91 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.01192/0.8935, allocations: 7.645 MB / 0.6828 GB, free: 6.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.8979, allocations: 2.205 MB / 0.685 GB, free: 5.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.8992, allocations: 0.8343 MB / 0.6858 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008961/0.9082, allocations: 6.642 MB / 0.6923 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.9082, allocations: 49.06 kB / 0.6923 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.977e-06/0.9083, allocations: 3.938 kB / 0.6923 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=176): time 0.01895/0.9272, allocations: 7.004 MB / 0.6991 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.9273, allocations: 95.11 kB / 0.6992 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.9286, allocations: 0.9651 MB / 0.7002 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.9288, allocations: 53.7 kB / 0.7002 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007104/0.9295, allocations: 0.8959 MB / 0.7011 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006286/0.9302, allocations: 0.6351 MB / 0.7017 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000638/0.9308, allocations: 415.6 kB / 0.7021 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.931, allocations: 301.1 kB / 0.7024 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.9322, allocations: 0.6288 MB / 0.703 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.9339, allocations: 1.201 MB / 0.7042 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003218/0.9371, allocations: 1.999 MB / 0.7061 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.9372, allocations: 8 kB / 0.7062 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005695/0.9429, allocations: 2.637 MB / 0.7087 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.9429, allocations: 12 kB / 0.7087 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.9429, allocations: 16 kB / 0.7088 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.9454, allocations: 0.6355 MB / 0.7094 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/0.9478, allocations: 485.7 kB / 0.7098 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.9585, allocations: 9.527 MB / 0.7191 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9601, allocations: 71.88 kB / 0.7192 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002605/0.9604, allocations: 160 kB / 0.7194 GB, free: 5.094 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.0008716/0.9612, allocations: 429.2 kB / 0.7198 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.9616, allocations: 159.1 kB / 0.7199 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/0.9681, allocations: 2.732 MB / 0.7226 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.9681, allocations: 23.98 kB / 0.7226 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.9682, allocations: 6.625 kB / 0.7226 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.9682, allocations: 7.969 kB / 0.7226 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008425/0.9766, allocations: 4.276 MB / 0.7268 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.9766, allocations: 3.938 kB / 0.7268 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.9786, allocations: 359.7 kB / 0.7272 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.9811, allocations: 0.593 MB / 0.7277 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.9814, allocations: 75.95 kB / 0.7278 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009193/0.9906, allocations: 8.645 MB / 0.7362 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.9906, allocations: 3.938 kB / 0.7362 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006672/0.9973, allocations: 3.292 MB / 0.7395 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.9977, allocations: 212.1 kB / 0.7397 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.9979, allocations: 39.94 kB / 0.7397 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000812/0.9987, allocations: 43.98 kB / 0.7397 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000391/0.9991, allocations: 169.7 kB / 0.7399 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/0.9993, allocations: 124 kB / 0.74 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008547/1, allocations: 0.6218 MB / 0.7406 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1, allocations: 0 / 0.7406 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00255/1.003, allocations: 0.8498 MB / 0.7415 GB, free: 13.72 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.008359/1.011, allocations: 4.534 MB / 0.7459 GB, free: 9.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004409/1.016, allocations: 2.476 MB / 0.7483 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.016, allocations: 0 / 0.7483 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0026/1.018, allocations: 1.584 MB / 0.7499 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.02, allocations: 311.4 kB / 0.7502 GB, free: 4.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/1.044, allocations: 14.3 MB / 0.7641 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.046, allocations: 1.406 MB / 0.7655 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001587/1.047, allocations: 430 kB / 0.7659 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.049, allocations: 0.8975 MB / 0.7668 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of SimCode: time 1.282e-06/1.049, allocations: 4 kB / 0.7668 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/1.156, allocations: 50.98 MB / 0.8166 GB, free: 392 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.59/23.75, allocations: 9.781 kB / 0.8166 GB, free: 388 kB / 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)