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.001819/0.001819, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002199/0.002199, allocations: 216.4 kB / 22.25 MB, free: 4.852 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.812 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.1527/0.1527, allocations: 23.98 MB / 336.4 MB, free: 10.88 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.002113/0.002113, allocations: 63.89 kB / 471.3 MB, free: 7.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3333, allocations: 59.89 MB / 0.5187 GB, free: 9.523 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.06915/0.4025, allocations: 26.21 MB / 0.5443 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02125/0.4237, allocations: 14.71 MB / 0.5587 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.4248, allocations: 19.81 kB / 0.5587 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.426, allocations: 301.2 kB / 0.559 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004932/0.4309, allocations: 1.475 MB / 0.5604 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.4371, allocations: 2.018 MB / 0.5624 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002857/0.4399, allocations: 1.55 MB / 0.5639 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.4414, allocations: 0.6951 MB / 0.5646 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.4427, allocations: 0.7833 MB / 0.5654 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001488/0.4442, allocations: 0.7785 MB / 0.5661 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.4445, allocations: 132 kB / 0.5663 GB, free: 9.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005889/0.4504, allocations: 1.704 MB / 0.5679 GB, free: 7.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00046/0.4508, allocations: 327 kB / 0.5682 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008833/0.4517, allocations: 0.5797 MB / 0.5688 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008051/0.4598, allocations: 3.432 MB / 0.5722 GB, free: 3.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4598, allocations: 3.984 kB / 0.5722 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4598, allocations: 0 / 0.5722 GB, free: 3.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.4598, allocations: 0 / 0.5722 GB, free: 3.012 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.003498/0.4633, allocations: 1.773 MB / 0.5739 GB, free: 1.199 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.4633, allocations: 8.031 kB / 0.5739 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002439/0.4636, allocations: 169.1 kB / 0.5741 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.4648, allocations: 275.7 kB / 0.5743 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.4661, allocations: 0.6165 MB / 0.5749 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.4663, allocations: 142.2 kB / 0.5751 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002082/0.4665, allocations: 112.3 kB / 0.5752 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.4687, allocations: 1.337 MB / 0.5765 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4688, allocations: 0 / 0.5765 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4689, allocations: 40 kB / 0.5765 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.4689, allocations: 28 kB / 0.5765 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002892/0.4718, allocations: 1.675 MB / 0.5782 GB, free: 12.71 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.007011/0.4788, allocations: 3.526 MB / 0.5816 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.4825, allocations: 1.871 MB / 0.5834 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009369/0.4834, allocations: 0.5377 MB / 0.584 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006654/0.4901, allocations: 2.783 MB / 0.5867 GB, free: 3.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.4901, allocations: 43.16 kB / 0.5867 GB, free: 3.812 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.745e-06/0.4901, allocations: 3.938 kB / 0.5867 GB, free: 3.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01518/0.5053, allocations: 3.43 MB / 0.5901 GB, free: 348 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.5053, allocations: 64.41 kB / 0.5901 GB, free: 272 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.5062, allocations: 0.6094 MB / 0.5907 GB, free: 15.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.075e-05/0.5063, allocations: 41.7 kB / 0.5908 GB, free: 15.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.5067, allocations: 0.5468 MB / 0.5913 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.507, allocations: 349 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.5074, allocations: 226.9 kB / 0.5919 GB, free: 14.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.5076, allocations: 398.7 kB / 0.5922 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006667/0.5083, allocations: 358.5 kB / 0.5926 GB, free: 13.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/0.5094, allocations: 0.7516 MB / 0.5933 GB, free: 12.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.5111, allocations: 1.2 MB / 0.5945 GB, free: 11.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.5112, allocations: 4 kB / 0.5945 GB, free: 11.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004098/0.5153, allocations: 1.471 MB / 0.5959 GB, free: 9.926 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.5153, allocations: 15.94 kB / 0.5959 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.5153, allocations: 12 kB / 0.596 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001921/0.5172, allocations: 249.6 kB / 0.5962 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.5187, allocations: 331.5 kB / 0.5965 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005813/0.5245, allocations: 3.627 MB / 0.6 GB, free: 5.473 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008839/0.5254, allocations: 43.98 kB / 0.6001 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.5255, allocations: 71.98 kB / 0.6002 GB, free: 5.359 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.000509/0.526, allocations: 277.3 kB / 0.6004 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.5262, allocations: 87.44 kB / 0.6005 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/0.5303, allocations: 1.332 MB / 0.6018 GB, free: 3.645 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5303, allocations: 8 kB / 0.6018 GB, free: 3.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5304, allocations: 4 kB / 0.6018 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.5304, allocations: 7.984 kB / 0.6018 GB, free: 3.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5318, allocations: 0.9126 MB / 0.6027 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5319, allocations: 4 kB / 0.6027 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.5331, allocations: 219.7 kB / 0.6029 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.5349, allocations: 229.6 kB / 0.6032 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.935e-05/0.535, allocations: 39.92 kB / 0.6032 GB, free: 2.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005369/0.5404, allocations: 3.522 MB / 0.6066 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5404, allocations: 7.922 kB / 0.6066 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004776/0.5452, allocations: 1.752 MB / 0.6083 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.5454, allocations: 75.5 kB / 0.6084 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.5456, allocations: 23.98 kB / 0.6084 GB, free: 12.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.5461, allocations: 20 kB / 0.6085 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/0.5463, allocations: 88.78 kB / 0.6085 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.553e-05/0.5464, allocations: 39.98 kB / 0.6086 GB, free: 12.37 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005243/0.5469, allocations: 383.1 kB / 0.6089 GB, free: 12 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5469, allocations: 0 / 0.6089 GB, free: 12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002155/0.549, allocations: 0.6818 MB / 0.6096 GB, free: 11.32 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.006495/0.5555, allocations: 3.013 MB / 0.6126 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.5578, allocations: 1.184 MB / 0.6137 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5578, allocations: 0 / 0.6137 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.559, allocations: 0.702 MB / 0.6144 GB, free: 6.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.5601, allocations: 207.5 kB / 0.6146 GB, free: 6.121 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.5767, allocations: 8.443 MB / 0.6228 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.5772, allocations: 451.5 kB / 0.6233 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009245/0.5781, allocations: 233.7 kB / 0.6235 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/0.5788, allocations: 478.3 kB / 0.624 GB, free: 12.01 MB / 478.1 MB Notification: Performance of SimCode: time 6.12e-07/0.5788, allocations: 0 / 0.624 GB, free: 12.01 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08162/0.6604, allocations: 34.07 MB / 0.6572 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.15, allocations: 6.75 kB / 0.6572 GB, free: 10.23 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.92377578932792] Failed to read output from testmodel.py, exit status != 0: 15.288705659098923 15.306832161 14.843322398 Calling exit ...