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.001325/0.001325, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00149/0.00149, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.397/1.397, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.1298/0.1298, allocations: 23.88 MB / 336.3 MB, free: 11.15 MB / 270.1 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: 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.002132/0.002132, allocations: 71.89 kB / 471.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 59.86 MB / 0.5187 GB, free: 9.574 MB / 382.1 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.0373/0.3328, allocations: 26.67 MB / 0.5447 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02139/0.3542, allocations: 16.79 MB / 0.5611 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.3552, allocations: 15.88 kB / 0.5611 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.3565, allocations: 340.4 kB / 0.5614 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004911/0.3614, allocations: 1.498 MB / 0.5629 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006123/0.3675, allocations: 2.022 MB / 0.5649 GB, free: 10.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002648/0.3702, allocations: 1.551 MB / 0.5664 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.3715, allocations: 0.6982 MB / 0.5671 GB, free: 8.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.3728, allocations: 0.7848 MB / 0.5678 GB, free: 7.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.3743, allocations: 0.8644 MB / 0.5687 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003536/0.3747, allocations: 132 kB / 0.5688 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005772/0.3804, allocations: 1.81 MB / 0.5706 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005109/0.381, allocations: 331 kB / 0.5709 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.3821, allocations: 0.6845 MB / 0.5716 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008272/0.3903, allocations: 3.444 MB / 0.5749 GB, free: 404 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3903, allocations: 0 / 0.5749 GB, free: 404 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3903, allocations: 4 kB / 0.5749 GB, free: 400 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.609e-05/0.3904, allocations: 0 / 0.5749 GB, free: 400 kB / 414.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.00448/0.3949, allocations: 1.773 MB / 0.5767 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3949, allocations: 8.031 kB / 0.5767 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003049/0.3952, allocations: 169 kB / 0.5768 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3966, allocations: 275.8 kB / 0.5771 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.398, allocations: 0.6165 MB / 0.5777 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001582/0.3981, allocations: 142.1 kB / 0.5778 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002737/0.3984, allocations: 112.3 kB / 0.5779 GB, free: 13.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002548/0.4009, allocations: 1.344 MB / 0.5793 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.401, allocations: 0 / 0.5793 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.4011, allocations: 40 kB / 0.5793 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.4011, allocations: 28 kB / 0.5793 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002941/0.4041, allocations: 1.699 MB / 0.581 GB, free: 10.05 MB / 430.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.008124/0.4122, allocations: 4.237 MB / 0.5851 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003624/0.4158, allocations: 1.925 MB / 0.587 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.4168, allocations: 0.5299 MB / 0.5875 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006813/0.4236, allocations: 2.939 MB / 0.5904 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.4237, allocations: 43.22 kB / 0.5904 GB, free: 140 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.605e-06/0.4237, allocations: 0 / 0.5904 GB, free: 140 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01584/0.4395, allocations: 3.429 MB / 0.5938 GB, free: 12.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.4396, allocations: 64.41 kB / 0.5938 GB, free: 12.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/0.4404, allocations: 0.5862 MB / 0.5944 GB, free: 12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.4405, allocations: 41.7 kB / 0.5944 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.4409, allocations: 0.5467 MB / 0.595 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/0.4413, allocations: 353.1 kB / 0.5953 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.4417, allocations: 238.8 kB / 0.5955 GB, free: 10.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4419, allocations: 398.7 kB / 0.5959 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006733/0.4425, allocations: 358.4 kB / 0.5963 GB, free: 10.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.4436, allocations: 0.7477 MB / 0.597 GB, free: 9.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.4454, allocations: 1.196 MB / 0.5982 GB, free: 7.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.4454, allocations: 4 kB / 0.5982 GB, free: 7.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00444/0.4498, allocations: 1.478 MB / 0.5996 GB, free: 6.266 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.4499, allocations: 12 kB / 0.5996 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.223e-05/0.4499, allocations: 12 kB / 0.5996 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.4519, allocations: 246.1 kB / 0.5999 GB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.4535, allocations: 323.5 kB / 0.6002 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005969/0.4594, allocations: 3.677 MB / 0.6038 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000947/0.4604, allocations: 44.06 kB / 0.6038 GB, free: 1.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.4606, allocations: 67.98 kB / 0.6039 GB, free: 1.672 MB / 446.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.0005971/0.4612, allocations: 269.4 kB / 0.6041 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.4615, allocations: 95.39 kB / 0.6042 GB, free: 1.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.4659, allocations: 1.336 MB / 0.6055 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.4659, allocations: 12 kB / 0.6055 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4659, allocations: 4 kB / 0.6055 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4659, allocations: 3.984 kB / 0.6055 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.4676, allocations: 1.037 MB / 0.6066 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4676, allocations: 0 / 0.6066 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.4688, allocations: 215.9 kB / 0.6068 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001937/0.4707, allocations: 221.5 kB / 0.607 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.4708, allocations: 39.92 kB / 0.607 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.4761, allocations: 3.565 MB / 0.6105 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4761, allocations: 3.938 kB / 0.6105 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004739/0.4808, allocations: 1.737 MB / 0.6122 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/0.4811, allocations: 79.44 kB / 0.6123 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.4813, allocations: 24 kB / 0.6123 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.4818, allocations: 20 kB / 0.6123 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.482, allocations: 100.7 kB / 0.6124 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.4821, allocations: 39.98 kB / 0.6124 GB, free: 8.531 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005412/0.4827, allocations: 387.1 kB / 0.6128 GB, free: 8.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4827, allocations: 0 / 0.6128 GB, free: 8.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002109/0.4848, allocations: 0.6818 MB / 0.6135 GB, free: 7.477 MB / 462.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.006498/0.4913, allocations: 3.006 MB / 0.6164 GB, free: 4.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.4937, allocations: 1.2 MB / 0.6176 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4937, allocations: 4 kB / 0.6176 GB, free: 3.195 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.4949, allocations: 0.7023 MB / 0.6183 GB, free: 2.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4961, allocations: 198 kB / 0.6185 GB, free: 2.273 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.513, allocations: 8.448 MB / 0.6267 GB, free: 9.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/0.5138, allocations: 1.038 MB / 0.6277 GB, free: 8.254 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008871/0.5147, allocations: 230.6 kB / 0.628 GB, free: 8.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000732/0.5154, allocations: 477.1 kB / 0.6284 GB, free: 7.566 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5154, allocations: 4 kB / 0.6284 GB, free: 7.562 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08292/0.5984, allocations: 33.63 MB / 0.6613 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.32/15.92, allocations: 7.938 kB / 0.6613 GB, free: 6.129 MB / 0.4981 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.568790096091107] Failed to read output from testmodel.py, exit status != 0: 16.051548870978877 16.077205476 15.68195629 Calling exit ...