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.001292/0.001292, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001883/0.001883, allocations: 219.4 kB / 22.25 MB, free: 5.102 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.809 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.1424/0.1424, allocations: 23.88 MB / 336.3 MB, free: 11.07 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.002019/0.002019, allocations: 67.91 kB / 471.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4204, allocations: 59.86 MB / 0.5185 GB, free: 9.477 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.07902/0.4994, allocations: 28.51 MB / 0.5464 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1907/0.6902, allocations: 134.4 MB / 0.6776 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.6921, allocations: 31.75 kB / 0.6776 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.694, allocations: 488.2 kB / 0.6781 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005417/0.6995, allocations: 1.648 MB / 0.6797 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009421/0.7089, allocations: 3.011 MB / 0.6827 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004557/0.7134, allocations: 2.613 MB / 0.6852 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.7154, allocations: 1.225 MB / 0.6864 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.7179, allocations: 1.274 MB / 0.6877 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.721, allocations: 1.417 MB / 0.689 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000484/0.7215, allocations: 228 kB / 0.6893 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007286/0.7288, allocations: 2.27 MB / 0.6915 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009143/0.7297, allocations: 0.5685 MB / 0.692 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.7312, allocations: 0.9841 MB / 0.693 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.7427, allocations: 5.122 MB / 0.698 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.7428, allocations: 4 kB / 0.698 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7428, allocations: 0 / 0.698 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.705e-05/0.7428, allocations: 0 / 0.698 GB, free: 1.625 MB / 0.5294 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.005939/0.7488, allocations: 2.819 MB / 0.7007 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.7488, allocations: 15.97 kB / 0.7008 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003805/0.7492, allocations: 274.6 kB / 0.701 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004638/0.7538, allocations: 0.8737 MB / 0.7019 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.7564, allocations: 0.9056 MB / 0.7028 GB, free: 12.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.7567, allocations: 259.2 kB / 0.703 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003603/0.757, allocations: 200.3 kB / 0.7032 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.7612, allocations: 2.148 MB / 0.7053 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.7612, allocations: 0 / 0.7053 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.7614, allocations: 80 kB / 0.7054 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.7615, allocations: 48 kB / 0.7054 GB, free: 9.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/0.7659, allocations: 2.288 MB / 0.7077 GB, free: 7.578 MB / 0.545 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.01183/0.7777, allocations: 6.052 MB / 0.7136 GB, free: 1.367 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00454/0.7823, allocations: 1.568 MB / 0.7151 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.7835, allocations: 0.7348 MB / 0.7158 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008078/0.7916, allocations: 3.918 MB / 0.7196 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.7917, allocations: 47.88 kB / 0.7197 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.356e-06/0.7917, allocations: 0 / 0.7197 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01935/0.811, allocations: 6.525 MB / 0.7261 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9e-05/0.8111, allocations: 107.1 kB / 0.7262 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.8124, allocations: 0.9805 MB / 0.7271 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/0.8126, allocations: 61.64 kB / 0.7272 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006957/0.8133, allocations: 0.8986 MB / 0.7281 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006153/0.8139, allocations: 0.6274 MB / 0.7287 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/0.8146, allocations: 407.5 kB / 0.7291 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8147, allocations: 305.1 kB / 0.7293 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.816, allocations: 0.6209 MB / 0.7299 GB, free: 380 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2258/1.042, allocations: 1.192 MB / 0.7311 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/1.045, allocations: 1.984 MB / 0.7331 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.045, allocations: 5.25 kB / 0.7331 GB, free: 183.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005326/1.05, allocations: 2.58 MB / 0.7356 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.05, allocations: 12.03 kB / 0.7356 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/1.05, allocations: 19.84 kB / 0.7356 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002355/1.052, allocations: 0.5951 MB / 0.7362 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/1.055, allocations: 481 kB / 0.7366 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008124/1.063, allocations: 8.896 MB / 0.7453 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/1.064, allocations: 65.77 kB / 0.7454 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/1.065, allocations: 162.4 kB / 0.7456 GB, free: 174.6 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.0008043/1.065, allocations: 432.4 kB / 0.746 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/1.066, allocations: 151.4 kB / 0.7461 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005657/1.071, allocations: 2.622 MB / 0.7487 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.071, allocations: 23.94 kB / 0.7487 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/1.071, allocations: 4.125 kB / 0.7487 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.072, allocations: 12.31 kB / 0.7487 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007559/1.079, allocations: 3.882 MB / 0.7525 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.079, allocations: 3.656 kB / 0.7525 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.081, allocations: 382.7 kB / 0.7529 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/1.083, allocations: 0.5074 MB / 0.7534 GB, free: 171.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/1.083, allocations: 73.58 kB / 0.7534 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00522/1.089, allocations: 6.317 MB / 0.7596 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.089, allocations: 6.641 kB / 0.7596 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/1.095, allocations: 3.149 MB / 0.7627 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/1.096, allocations: 136.4 kB / 0.7628 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/1.096, allocations: 36.92 kB / 0.7628 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/1.097, allocations: 42.31 kB / 0.7629 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004358/1.097, allocations: 173.1 kB / 0.7631 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.098, allocations: 126.6 kB / 0.7632 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009121/1.099, allocations: 0.6203 MB / 0.7638 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.099, allocations: 0 / 0.7638 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003152/1.102, allocations: 0.8357 MB / 0.7646 GB, free: 164 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.007762/1.109, allocations: 4.42 MB / 0.7689 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004383/1.114, allocations: 2.325 MB / 0.7712 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.114, allocations: 2.625 kB / 0.7712 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/1.116, allocations: 1.31 MB / 0.7725 GB, free: 160.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/1.118, allocations: 308.5 kB / 0.7728 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.14, allocations: 14.14 MB / 0.7866 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/1.141, allocations: 0.8292 MB / 0.7874 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001577/1.142, allocations: 443.8 kB / 0.7878 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.143, allocations: 0.8925 MB / 0.7887 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.493e-06/1.143, allocations: 0 / 0.7887 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09011/1.234, allocations: 52.39 MB / 0.8398 GB, free: 95.01 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/16.58, allocations: 11.98 kB / 0.8398 GB, free: 95 MB / 0.5606 GB " [Timeout remaining time 643] (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 os._exit(0), Time elapsed: 19.454350414016517] Failed to read output from testmodel.py, exit status != 0: 16.737434120994294 16.754243173 16.007671482 Calling exit ...