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.001247/0.001247, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001478/0.001478, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9487/0.9487, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.09539/0.09539, allocations: 17.37 MB / 276.6 MB, free: 11.86 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.916e-06/2.916e-06, allocations: 0 / 411.4 MB, free: 428 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.135e-05, allocations: 3.969 kB / 411.5 MB, free: 424 kB / 378.7 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.03155/0.03158, allocations: 28.89 MB / 440.3 MB, free: 3.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.3292/0.3608, allocations: 134.4 MB / 0.5613 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.3621, allocations: 35.75 kB / 0.5613 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.3633, allocations: 492 kB / 0.5618 GB, free: 136 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.3676, allocations: 1.713 MB / 0.5634 GB, free: 14.41 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.3743, allocations: 3.088 MB / 0.5665 GB, free: 11.3 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003496/0.3778, allocations: 2.688 MB / 0.5691 GB, free: 8.605 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.3795, allocations: 1.213 MB / 0.5703 GB, free: 7.359 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.3819, allocations: 1.763 MB / 0.572 GB, free: 5.594 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001555/0.3835, allocations: 1.13 MB / 0.5731 GB, free: 4.461 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.3839, allocations: 228 kB / 0.5733 GB, free: 4.238 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/0.3891, allocations: 2.238 MB / 0.5755 GB, free: 1.996 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006351/0.3897, allocations: 0.5724 MB / 0.5761 GB, free: 1.422 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.3912, allocations: 0.8419 MB / 0.5769 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.4018, allocations: 5.358 MB / 0.5821 GB, free: 11.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.4018, allocations: 0 / 0.5821 GB, free: 11.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4018, allocations: 4 kB / 0.5821 GB, free: 11.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.984e-05/0.4019, allocations: 3.281 kB / 0.5821 GB, free: 11.2 MB / 474.7 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.004137/0.406, allocations: 2.808 MB / 0.5849 GB, free: 8.352 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4061, allocations: 8.031 kB / 0.5849 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.4063, allocations: 270.7 kB / 0.5851 GB, free: 8.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/0.4089, allocations: 0.8737 MB / 0.586 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.4103, allocations: 0.9127 MB / 0.5869 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.4105, allocations: 258.9 kB / 0.5871 GB, free: 5.992 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.4108, allocations: 200.3 kB / 0.5873 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/0.4132, allocations: 2.145 MB / 0.5894 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.4133, allocations: 384 / 0.5894 GB, free: 3.609 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/0.4134, allocations: 79.94 kB / 0.5895 GB, free: 3.531 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.4134, allocations: 48 kB / 0.5895 GB, free: 3.484 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.416, allocations: 2.288 MB / 0.5918 GB, free: 1.195 MB / 474.7 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.007972/0.424, allocations: 6.044 MB / 0.5977 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.4264, allocations: 1.569 MB / 0.5992 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008549/0.4273, allocations: 0.7432 MB / 0.5999 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00518/0.4325, allocations: 3.918 MB / 0.6038 GB, free: 4.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.4325, allocations: 47.81 kB / 0.6038 GB, free: 4.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=132): time 4.498e-06/0.4325, allocations: 0 / 0.6038 GB, free: 4.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=174): time 0.01104/0.4435, allocations: 6.518 MB / 0.6102 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.4436, allocations: 95.11 kB / 0.6103 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008898/0.4445, allocations: 0.9845 MB / 0.6112 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000124/0.4446, allocations: 49.7 kB / 0.6113 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/0.445, allocations: 0.9025 MB / 0.6121 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003703/0.4454, allocations: 0.6158 MB / 0.6127 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/0.4457, allocations: 407.5 kB / 0.6131 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.4458, allocations: 305.1 kB / 0.6134 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007683/0.4466, allocations: 0.6248 MB / 0.614 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.4477, allocations: 1.189 MB / 0.6152 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.4497, allocations: 1.984 MB / 0.6171 GB, free: 6.363 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.4497, allocations: 4 kB / 0.6171 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003386/0.4531, allocations: 2.586 MB / 0.6197 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.4532, allocations: 15.94 kB / 0.6197 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.4532, allocations: 19.19 kB / 0.6197 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.4545, allocations: 0.5938 MB / 0.6203 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.4559, allocations: 492 kB / 0.6207 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1859/0.6418, allocations: 8.888 MB / 0.6294 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.643, allocations: 66.17 kB / 0.6295 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/0.6432, allocations: 161 kB / 0.6296 GB, free: 147.6 MB / 0.4948 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.0008243/0.644, allocations: 427.2 kB / 0.63 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.6443, allocations: 158 kB / 0.6302 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.6477, allocations: 2.605 MB / 0.6327 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.6478, allocations: 19.62 kB / 0.6328 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6478, allocations: 9.438 kB / 0.6328 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.6478, allocations: 13 kB / 0.6328 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.6532, allocations: 3.889 MB / 0.6366 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.6532, allocations: 3.219 kB / 0.6366 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6542, allocations: 379.9 kB / 0.6369 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.6554, allocations: 0.498 MB / 0.6374 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.6555, allocations: 77.22 kB / 0.6375 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.6596, allocations: 6.316 MB / 0.6437 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.6596, allocations: 3.281 kB / 0.6437 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.6637, allocations: 3.143 MB / 0.6467 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/0.6642, allocations: 140 kB / 0.6469 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.6643, allocations: 36.97 kB / 0.6469 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.6648, allocations: 43.28 kB / 0.647 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/0.665, allocations: 176.9 kB / 0.6471 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6652, allocations: 123.3 kB / 0.6472 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006295/0.6658, allocations: 0.6226 MB / 0.6479 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.6658, allocations: 0 / 0.6479 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002468/0.6683, allocations: 0.8324 MB / 0.6487 GB, free: 137.2 MB / 0.4948 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.005119/0.6734, allocations: 4.438 MB / 0.653 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003017/0.6764, allocations: 2.322 MB / 0.6553 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.6764, allocations: 0 / 0.6553 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.6779, allocations: 1.323 MB / 0.6566 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6791, allocations: 305.4 kB / 0.6568 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01859/0.6977, allocations: 14.04 MB / 0.6706 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007934/0.6985, allocations: 0.8257 MB / 0.6714 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001321/0.6998, allocations: 443.3 kB / 0.6718 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/0.7007, allocations: 0.8954 MB / 0.6727 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.152e-06/0.7007, allocations: 1.125 kB / 0.6727 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/0.8052, allocations: 51.89 MB / 0.7233 GB, free: 89.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.448/10.25, allocations: 8.047 kB / 0.7233 GB, free: 89.1 MB / 0.4948 GB " [Timeout remaining time 650] (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: 12.27522999048233] Failed to read output from testmodel.py, exit status != 0: 10.372877039946616 10.378502542 9.975117219 Calling exit ...