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.001286/0.001286, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001347/0.001347, allocations: 214.3 kB / 23.04 MB, free: 5.07 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.1429/0.1429, allocations: 23.88 MB / 337.1 MB, free: 11.14 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",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.002701/0.002701, allocations: 63.91 kB / 472 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.326, allocations: 59.87 MB / 0.5194 GB, free: 9.555 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.03927/0.3653, allocations: 26.49 MB / 0.5453 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02182/0.3871, allocations: 16.79 MB / 0.5617 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3881, allocations: 19.81 kB / 0.5617 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.3891, allocations: 336.3 kB / 0.562 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004484/0.3936, allocations: 1.503 MB / 0.5635 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006013/0.3996, allocations: 2.022 MB / 0.5655 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002597/0.4022, allocations: 1.551 MB / 0.567 GB, free: 9.195 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.4035, allocations: 0.7056 MB / 0.5677 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.4048, allocations: 0.7794 MB / 0.5684 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.4061, allocations: 0.8643 MB / 0.5693 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.4064, allocations: 132 kB / 0.5694 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005689/0.4121, allocations: 1.81 MB / 0.5712 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.4125, allocations: 327 kB / 0.5715 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008335/0.4133, allocations: 0.6884 MB / 0.5721 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007635/0.4209, allocations: 3.444 MB / 0.5755 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.4209, allocations: 4 kB / 0.5755 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.421, allocations: 0 / 0.5755 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.178e-05/0.421, allocations: 4 kB / 0.5755 GB, free: 0.6094 MB / 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.003583/0.4246, allocations: 1.773 MB / 0.5772 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4246, allocations: 8.031 kB / 0.5773 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.755e-05/0.4246, allocations: 30.36 kB / 0.5773 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.4248, allocations: 165 kB / 0.5774 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.4261, allocations: 271.5 kB / 0.5777 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.4272, allocations: 0.6204 MB / 0.5783 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.4274, allocations: 134.1 kB / 0.5784 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.4276, allocations: 124.1 kB / 0.5785 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.4298, allocations: 1.333 MB / 0.5799 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.4298, allocations: 0 / 0.5799 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.4299, allocations: 48 kB / 0.5799 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.4299, allocations: 24 kB / 0.5799 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/0.4327, allocations: 1.691 MB / 0.5816 GB, free: 10.26 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.007002/0.4397, allocations: 4.253 MB / 0.5857 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.4433, allocations: 1.914 MB / 0.5876 GB, free: 3.887 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008673/0.4441, allocations: 0.5299 MB / 0.5881 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006263/0.4504, allocations: 2.935 MB / 0.591 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.4504, allocations: 39.22 kB / 0.591 GB, free: 352 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 4.679e-06/0.4504, allocations: 3.984 kB / 0.591 GB, free: 348 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01455/0.465, allocations: 3.44 MB / 0.5944 GB, free: 12.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.4651, allocations: 64.39 kB / 0.5944 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.4658, allocations: 0.5862 MB / 0.595 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/0.4659, allocations: 41.7 kB / 0.5951 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.4663, allocations: 0.5468 MB / 0.5956 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.4666, allocations: 349 kB / 0.5959 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.4669, allocations: 230.8 kB / 0.5961 GB, free: 11.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.4672, allocations: 402.7 kB / 0.5965 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.4678, allocations: 366.4 kB / 0.5969 GB, free: 10.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/0.4688, allocations: 0.7516 MB / 0.5976 GB, free: 9.324 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.4706, allocations: 1.2 MB / 0.5988 GB, free: 7.945 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.4706, allocations: 4 kB / 0.5988 GB, free: 7.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004122/0.4747, allocations: 1.471 MB / 0.6002 GB, free: 6.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4747, allocations: 12 kB / 0.6002 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.4747, allocations: 16 kB / 0.6002 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.4767, allocations: 245.7 kB / 0.6005 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.4782, allocations: 323.5 kB / 0.6008 GB, free: 5.867 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.4837, allocations: 3.663 MB / 0.6044 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.4847, allocations: 43.94 kB / 0.6044 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.4848, allocations: 67.98 kB / 0.6045 GB, free: 1.871 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.0005002/0.4853, allocations: 281.5 kB / 0.6047 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.4855, allocations: 99.31 kB / 0.6048 GB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00412/0.4897, allocations: 1.32 MB / 0.6061 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.4897, allocations: 8 kB / 0.6061 GB, free: 148 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.4897, allocations: 4 kB / 0.6061 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.4897, allocations: 7.969 kB / 0.6061 GB, free: 136 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001636/0.4913, allocations: 1.037 MB / 0.6072 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.4913, allocations: 4 kB / 0.6072 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.4925, allocations: 211.8 kB / 0.6074 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.4944, allocations: 233.6 kB / 0.6076 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.4945, allocations: 35.92 kB / 0.6076 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005173/0.4997, allocations: 3.565 MB / 0.6111 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.4997, allocations: 7.969 kB / 0.6111 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004615/0.5043, allocations: 1.74 MB / 0.6128 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/0.5045, allocations: 75.39 kB / 0.6129 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5047, allocations: 24.06 kB / 0.6129 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000499/0.5052, allocations: 19.98 kB / 0.6129 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.5054, allocations: 88.73 kB / 0.613 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.5054, allocations: 43.98 kB / 0.613 GB, free: 8.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000486/0.5059, allocations: 387.1 kB / 0.6134 GB, free: 8.355 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5059, allocations: 4 kB / 0.6134 GB, free: 8.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002157/0.5081, allocations: 0.6779 MB / 0.6141 GB, free: 7.672 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.006481/0.5146, allocations: 3.013 MB / 0.617 GB, free: 4.613 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002419/0.517, allocations: 1.192 MB / 0.6182 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.517, allocations: 0 / 0.6182 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.5182, allocations: 0.698 MB / 0.6189 GB, free: 2.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.5193, allocations: 206.6 kB / 0.6191 GB, free: 2.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/0.5351, allocations: 8.456 MB / 0.6273 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/0.5358, allocations: 1.041 MB / 0.6283 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008107/0.5366, allocations: 234.4 kB / 0.6286 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/0.5373, allocations: 466.2 kB / 0.629 GB, free: 7.758 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5373, allocations: 4 kB / 0.629 GB, free: 7.754 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07042/0.6077, allocations: 33.65 MB / 0.6619 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.06, allocations: 11.94 kB / 0.6619 GB, free: 6.305 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.89293768198695] Failed to read output from testmodel.py, exit status != 0: 16.249361564056017 16.275777398 15.849758206 Calling exit ...