Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.09876/0.09876, allocations: 15.54 MB / 318.2 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] 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.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.88 kB / 444.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1092, allocations: 56.54 MB / 0.4897 GB, free: 4.914 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.ClimateChange.HydrogenotrophicMethanogenesis): time 0.4031/0.5122, allocations: 26.41 MB / 0.5155 GB, free: 5.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.5291, allocations: 16.73 MB / 0.5318 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007535/0.5298, allocations: 12.28 kB / 0.5319 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009358/0.5308, allocations: 342.2 kB / 0.5322 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.5352, allocations: 1.485 MB / 0.5336 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005856/0.541, allocations: 2.001 MB / 0.5356 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002843/0.5439, allocations: 1.544 MB / 0.5371 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.545, allocations: 0.7104 MB / 0.5378 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.5461, allocations: 0.7725 MB / 0.5385 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.5474, allocations: 0.8673 MB / 0.5394 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.5477, allocations: 133.7 kB / 0.5395 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006112/0.5538, allocations: 1.803 MB / 0.5413 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005181/0.5543, allocations: 327.2 kB / 0.5416 GB, free: 8.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.5554, allocations: 0.6831 MB / 0.5423 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008265/0.5637, allocations: 3.352 MB / 0.5455 GB, free: 5.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5637, allocations: 5.422 kB / 0.5455 GB, free: 5.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5637, allocations: 0 / 0.5455 GB, free: 5.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.5637, allocations: 3.938 kB / 0.5455 GB, free: 5.941 MB / 398.1 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.003898/0.5676, allocations: 1.845 MB / 0.5473 GB, free: 4.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5677, allocations: 8.375 kB / 0.5474 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.5679, allocations: 165.2 kB / 0.5475 GB, free: 4.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.5691, allocations: 278.8 kB / 0.5478 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.5704, allocations: 0.6763 MB / 0.5484 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.5705, allocations: 111.1 kB / 0.5485 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.5707, allocations: 119 kB / 0.5487 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.5728, allocations: 1.328 MB / 0.55 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/0.5728, allocations: 1.375 kB / 0.55 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.573, allocations: 48.25 kB / 0.55 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.573, allocations: 26.12 kB / 0.55 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.5756, allocations: 1.697 MB / 0.5517 GB, free: 2.102 MB / 398.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.007335/0.5829, allocations: 4.297 MB / 0.5559 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5862, allocations: 2.21 MB / 0.558 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007771/0.5869, allocations: 0.5345 MB / 0.5586 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007749/0.5947, allocations: 5.394 MB / 0.5638 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.5947, allocations: 38.97 kB / 0.5639 GB, free: 8.441 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.5947, allocations: 0 / 0.5639 GB, free: 8.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.01516/0.6099, allocations: 3.583 MB / 0.5674 GB, free: 6.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.6099, allocations: 59.53 kB / 0.5674 GB, free: 6.387 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.6106, allocations: 0.5905 MB / 0.568 GB, free: 6.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.6107, allocations: 41.27 kB / 0.568 GB, free: 5.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.611, allocations: 0.5476 MB / 0.5686 GB, free: 5.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.6113, allocations: 352.2 kB / 0.5689 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.6116, allocations: 231.7 kB / 0.5691 GB, free: 5.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.6118, allocations: 396.6 kB / 0.5695 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.6124, allocations: 359 kB / 0.5698 GB, free: 4.496 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009033/0.6133, allocations: 0.754 MB / 0.5706 GB, free: 3.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.6149, allocations: 1.202 MB / 0.5718 GB, free: 2.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6149, allocations: 3.75 kB / 0.5718 GB, free: 2.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004017/0.6189, allocations: 1.476 MB / 0.5732 GB, free: 2.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6189, allocations: 11.12 kB / 0.5732 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6189, allocations: 14.22 kB / 0.5732 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.621, allocations: 242.6 kB / 0.5735 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.6223, allocations: 330.9 kB / 0.5738 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005693/0.628, allocations: 3.868 MB / 0.5775 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/0.629, allocations: 37.62 kB / 0.5776 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.6291, allocations: 65.2 kB / 0.5776 GB, free: 14.2 MB / 430.1 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.0004659/0.6296, allocations: 274.1 kB / 0.5779 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.6298, allocations: 86.53 kB / 0.578 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.6338, allocations: 1.34 MB / 0.5793 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.6338, allocations: 11.28 kB / 0.5793 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6338, allocations: 3.344 kB / 0.5793 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.6339, allocations: 3.984 kB / 0.5793 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.6354, allocations: 1.076 MB / 0.5804 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6354, allocations: 0 / 0.5804 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.6365, allocations: 218.6 kB / 0.5806 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/0.6385, allocations: 240.7 kB / 0.5808 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.6386, allocations: 34.77 kB / 0.5808 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005364/0.6439, allocations: 3.76 MB / 0.5845 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.6439, allocations: 4.031 kB / 0.5845 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/0.6486, allocations: 1.744 MB / 0.5862 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002914/0.6489, allocations: 156.6 kB / 0.5864 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.649, allocations: 20 kB / 0.5864 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.6495, allocations: 20 kB / 0.5864 GB, free: 6.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/0.6497, allocations: 84.83 kB / 0.5865 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-05/0.6498, allocations: 39.98 kB / 0.5865 GB, free: 5.957 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004932/0.6503, allocations: 391.1 kB / 0.5869 GB, free: 5.582 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6503, allocations: 0 / 0.5869 GB, free: 5.582 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002139/0.6524, allocations: 0.6779 MB / 0.5876 GB, free: 4.902 MB / 430.1 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.006788/0.6592, allocations: 3.001 MB / 0.5905 GB, free: 1.852 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.6615, allocations: 1.192 MB / 0.5917 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6615, allocations: 0 / 0.5917 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.6627, allocations: 0.702 MB / 0.5923 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6638, allocations: 199.6 kB / 0.5925 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.6806, allocations: 8.448 MB / 0.6008 GB, free: 6.758 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007175/0.6813, allocations: 1.038 MB / 0.6018 GB, free: 5.691 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008447/0.6821, allocations: 235.2 kB / 0.602 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/0.6828, allocations: 477.7 kB / 0.6025 GB, free: 4.996 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6828, allocations: 0 / 0.6025 GB, free: 4.996 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.7558, allocations: 32.3 MB / 0.634 GB, free: 4.902 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.14, allocations: 12.67 kB / 0.634 GB, free: 4.891 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.858114614151418] Failed to read output from testmodel.py, exit status != 0: 15.254725421313196 15.269115991 14.702392523 Calling exit ...