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.00139/0.00139, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001492/0.001492, allocations: 211.5 kB / 23.04 MB, free: 5.062 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8 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.142/0.142, allocations: 23.85 MB / 337.1 MB, free: 11.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.HydrogenCombustion,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_HydrogenCombustion",fmuType="cs",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.00203/0.00203, allocations: 63.91 kB / 472 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 59.85 MB / 0.5193 GB, free: 9.602 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.04989/0.3985, allocations: 29.41 MB / 0.5481 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2091/0.6076, allocations: 156.6 MB / 0.701 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.6094, allocations: 35.75 kB / 0.701 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.6112, allocations: 0.5116 MB / 0.7015 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.6169, allocations: 1.676 MB / 0.7031 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00901/0.6259, allocations: 3.007 MB / 0.7061 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00514/0.631, allocations: 2.601 MB / 0.7086 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.633, allocations: 1.233 MB / 0.7098 GB, free: 6.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.635, allocations: 1.278 MB / 0.7111 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.6376, allocations: 1.409 MB / 0.7124 GB, free: 3.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004944/0.6381, allocations: 232 kB / 0.7127 GB, free: 3.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007965/0.6461, allocations: 2.387 MB / 0.715 GB, free: 1.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.6469, allocations: 0.5764 MB / 0.7156 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.6488, allocations: 1.178 MB / 0.7167 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.6613, allocations: 5.126 MB / 0.7217 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6614, allocations: 0 / 0.7217 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6614, allocations: 0 / 0.7217 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.643e-05/0.6614, allocations: 0 / 0.7217 GB, free: 10.3 MB / 0.5606 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.006132/0.6676, allocations: 2.838 MB / 0.7245 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.6676, allocations: 8.031 kB / 0.7245 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.902e-05/0.6677, allocations: 52.05 kB / 0.7245 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003465/0.668, allocations: 270.6 kB / 0.7248 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004627/0.6726, allocations: 0.8698 MB / 0.7256 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.6746, allocations: 0.9095 MB / 0.7265 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.6748, allocations: 263.2 kB / 0.7268 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003582/0.6752, allocations: 204 kB / 0.727 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.6791, allocations: 2.148 MB / 0.7291 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.6791, allocations: 7.938 kB / 0.7291 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.6793, allocations: 76 kB / 0.7292 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.433e-05/0.6794, allocations: 48 kB / 0.7292 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004475/0.6838, allocations: 2.307 MB / 0.7315 GB, free: 160 kB / 0.5606 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.2293/0.9132, allocations: 7.531 MB / 0.7388 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/0.9178, allocations: 1.571 MB / 0.7403 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.9197, allocations: 0.7383 MB / 0.7411 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01147/0.9312, allocations: 4.137 MB / 0.7451 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.9312, allocations: 55.58 kB / 0.7452 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.737e-06/0.9312, allocations: 1.344 kB / 0.7452 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.02071/0.9519, allocations: 6.513 MB / 0.7515 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.952, allocations: 99.17 kB / 0.7516 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.9536, allocations: 0.9574 MB / 0.7526 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/0.9538, allocations: 50.36 kB / 0.7526 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004619/0.9543, allocations: 0.9125 MB / 0.7535 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.9548, allocations: 0.6179 MB / 0.7541 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005948/0.9554, allocations: 412 kB / 0.7545 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.9554, allocations: 302.4 kB / 0.7548 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.9567, allocations: 0.6258 MB / 0.7554 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.9583, allocations: 1.192 MB / 0.7566 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/0.9615, allocations: 1.994 MB / 0.7585 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.9615, allocations: 6.188 kB / 0.7585 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00562/0.9671, allocations: 2.567 MB / 0.761 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.9671, allocations: 14.97 kB / 0.761 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.9672, allocations: 17.91 kB / 0.761 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.9694, allocations: 0.6032 MB / 0.7616 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/0.9717, allocations: 481.2 kB / 0.7621 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008296/0.98, allocations: 8.969 MB / 0.7708 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.9819, allocations: 63.64 kB / 0.7709 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/0.9822, allocations: 166 kB / 0.7711 GB, free: 163.2 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.000869/0.983, allocations: 430.5 kB / 0.7715 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.9834, allocations: 154 kB / 0.7716 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.9886, allocations: 2.613 MB / 0.7742 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.9886, allocations: 25.41 kB / 0.7742 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.9886, allocations: 7.719 kB / 0.7742 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.9886, allocations: 11.95 kB / 0.7742 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/0.9956, allocations: 4.1 MB / 0.7782 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.9956, allocations: 3.969 kB / 0.7782 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.9975, allocations: 377.6 kB / 0.7786 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/0.9995, allocations: 0.5077 MB / 0.7791 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002075/0.9997, allocations: 74.78 kB / 0.7792 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/1.005, allocations: 6.349 MB / 0.7854 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.005, allocations: 4.031 kB / 0.7854 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/1.01, allocations: 3.148 MB / 0.7884 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/1.01, allocations: 135 kB / 0.7886 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/1.011, allocations: 37.73 kB / 0.7886 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008156/1.011, allocations: 39.98 kB / 0.7886 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/1.012, allocations: 184.3 kB / 0.7888 GB, free: 149 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.012, allocations: 120 kB / 0.7889 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007505/1.013, allocations: 0.6218 MB / 0.7895 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.013, allocations: 0 / 0.7895 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003046/1.016, allocations: 0.8342 MB / 0.7903 GB, free: 147.4 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.006936/1.023, allocations: 4.405 MB / 0.7946 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003925/1.027, allocations: 2.328 MB / 0.7969 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.027, allocations: 0 / 0.7969 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.029, allocations: 1.324 MB / 0.7982 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/1.03, allocations: 308.4 kB / 0.7985 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.051, allocations: 14.15 MB / 0.8123 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006989/1.051, allocations: 1.406 MB / 0.8137 GB, free: 123 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001446/1.053, allocations: 441.1 kB / 0.8141 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/1.054, allocations: 0.8923 MB / 0.815 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.054, allocations: 3.938 kB / 0.815 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08734/1.141, allocations: 52.55 MB / 0.8663 GB, free: 69.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.55/25.69, allocations: 11.98 kB / 0.8663 GB, free: 69.9 MB / 0.5606 GB " [Timeout remaining time 634] (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 sys.exit(0), Time elapsed: 28.843727521947585] Failed to read output from testmodel.py, exit status != 0: 25.898211276973598 25.908438727 25.244610405 Calling exit ...