Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.0007416/0.0007416, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007529/0.0007529, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8161/0.8161, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.07712/0.07712, allocations: 17.45 MB / 276.6 MB, free: 11.76 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 411.6 MB, free: 256 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.348e-05, allocations: 2.281 kB / 411.6 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.ClimateChange.HydrogenotrophicMethanogenesis): time 0.02064/0.02065, allocations: 26.45 MB / 438.1 MB, free: 5.875 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1563/0.177, allocations: 14.7 MB / 452.8 MB, free: 57.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003921/0.1774, allocations: 14.31 kB / 452.8 MB, free: 57.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004914/0.1779, allocations: 319 kB / 453.1 MB, free: 57.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.1795, allocations: 1.52 MB / 454.6 MB, free: 56.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002047/0.1815, allocations: 2.084 MB / 456.7 MB, free: 55.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006935/0.1822, allocations: 1.601 MB / 458.3 MB, free: 55.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004129/0.1827, allocations: 0.6897 MB / 459 MB, free: 54.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.1832, allocations: 1.078 MB / 460.1 MB, free: 54.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.1836, allocations: 0.6967 MB / 460.8 MB, free: 54.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1837, allocations: 134.5 kB / 460.9 MB, free: 54.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.1853, allocations: 1.713 MB / 462.6 MB, free: 53.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1854, allocations: 322.7 kB / 462.9 MB, free: 53.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.1857, allocations: 0.5021 MB / 463.4 MB, free: 53.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001916/0.1876, allocations: 3.655 MB / 467.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1876, allocations: 6.078 kB / 467.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1876, allocations: 0 / 467.1 MB, free: 51.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1876, allocations: 0 / 467.1 MB, free: 51.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.001544/0.1892, allocations: 1.756 MB / 468.8 MB, free: 50.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1892, allocations: 9.25 kB / 468.9 MB, free: 50.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.1893, allocations: 165.7 kB / 469 MB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005585/0.1899, allocations: 270.2 kB / 469.3 MB, free: 50.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.1904, allocations: 0.6168 MB / 469.9 MB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.1905, allocations: 136.9 kB / 470 MB, free: 50.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1906, allocations: 113.7 kB / 470.1 MB, free: 50.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1917, allocations: 1.33 MB / 471.5 MB, free: 49.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1917, allocations: 384 / 471.5 MB, free: 49.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.1918, allocations: 49.66 kB / 471.5 MB, free: 49.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1918, allocations: 31.22 kB / 471.5 MB, free: 49.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.1932, allocations: 1.674 MB / 473.2 MB, free: 48.98 MB / 410.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.003133/0.1964, allocations: 3.524 MB / 476.7 MB, free: 47.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.198, allocations: 1.871 MB / 478.6 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.1985, allocations: 0.5247 MB / 479.1 MB, free: 46.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/0.2014, allocations: 2.804 MB / 481.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.2014, allocations: 41.53 kB / 482 MB, free: 45.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 1.413e-06/0.2014, allocations: 0 / 482 MB, free: 45.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=95): time 0.006936/0.2083, allocations: 3.433 MB / 485.4 MB, free: 43.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.2083, allocations: 64.92 kB / 485.5 MB, free: 43.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/0.2088, allocations: 0.6075 MB / 486.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.2089, allocations: 44.48 kB / 486.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.2091, allocations: 0.5426 MB / 486.7 MB, free: 42.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.2092, allocations: 352.1 kB / 487 MB, free: 42.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/0.2094, allocations: 236.2 kB / 487.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.2095, allocations: 392.1 kB / 487.6 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.21, allocations: 356 kB / 488 MB, free: 41.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005686/0.2105, allocations: 0.7462 MB / 488.7 MB, free: 41.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2117, allocations: 1.205 MB / 489.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.2118, allocations: 3.312 kB / 489.9 MB, free: 40.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002201/0.214, allocations: 1.473 MB / 491.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.214, allocations: 12.91 kB / 491.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.214, allocations: 12.5 kB / 491.4 MB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008356/0.2148, allocations: 243.6 kB / 491.7 MB, free: 39.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/0.2155, allocations: 330 kB / 492 MB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/0.2181, allocations: 3.626 MB / 495.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.2184, allocations: 39.75 kB / 495.7 MB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.2185, allocations: 68.11 kB / 495.7 MB, free: 36.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.2187, allocations: 282.7 kB / 496 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.2188, allocations: 89.59 kB / 496.1 MB, free: 36.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.2208, allocations: 1.322 MB / 497.4 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2208, allocations: 10.97 kB / 497.4 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2209, allocations: 1.094 kB / 497.4 MB, free: 35.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.2209, allocations: 11.25 kB / 497.4 MB, free: 35.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008281/0.2217, allocations: 0.9262 MB / 498.4 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.2217, allocations: 2.281 kB / 498.4 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/0.2223, allocations: 216.5 kB / 498.6 MB, free: 35.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008109/0.2231, allocations: 223.9 kB / 498.8 MB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.2231, allocations: 39.17 kB / 498.8 MB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.2254, allocations: 3.521 MB / 0.4906 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2254, allocations: 2.281 kB / 0.4906 GB, free: 32.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.2277, allocations: 1.744 MB / 0.4923 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.2278, allocations: 81.47 kB / 0.4924 GB, free: 31.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/0.2278, allocations: 19.95 kB / 0.4924 GB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.2281, allocations: 24.75 kB / 0.4924 GB, free: 31.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.2282, allocations: 82.44 kB / 0.4925 GB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.2282, allocations: 42.28 kB / 0.4925 GB, free: 31.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002828/0.2285, allocations: 395.2 kB / 0.4929 GB, free: 30.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2285, allocations: 0 / 0.4929 GB, free: 30.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2298, allocations: 0.6759 MB / 0.4936 GB, free: 30.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003477/0.2333, allocations: 3.035 MB / 0.4965 GB, free: 29.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.2345, allocations: 1.196 MB / 0.4977 GB, free: 28.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2345, allocations: 0 / 0.4977 GB, free: 28.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006041/0.2352, allocations: 0.6889 MB / 0.4984 GB, free: 28.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006688/0.2358, allocations: 196 kB / 0.4986 GB, free: 28.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00776/0.2436, allocations: 8.384 MB / 0.5067 GB, free: 21.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.2439, allocations: 459 kB / 0.5072 GB, free: 20.67 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000516/0.2444, allocations: 229.6 kB / 0.5074 GB, free: 20.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.2448, allocations: 473.4 kB / 0.5078 GB, free: 20.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2448, allocations: 0 / 0.5078 GB, free: 20.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04027/0.2851, allocations: 34.29 MB / 0.5413 GB, free: 4.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/8.579, allocations: 7.859 kB / 0.5413 GB, free: 4.125 MB / 426.7 MB " [Timeout remaining time 651] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.228356811217964] Failed to read output from testmodel.py, exit status != 0: 8.681462535634637 8.689240747 8.500087335 Calling exit ...