Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001347/0.001347, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001474/0.001474, allocations: 220.5 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1396/0.1396, allocations: 23.86 MB / 337.1 MB, free: 11.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_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.001991/0.001991, allocations: 67.91 kB / 471.9 MB, free: 7.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3081, allocations: 59.86 MB / 0.5193 GB, free: 9.617 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.0372/0.3453, allocations: 26.49 MB / 0.5452 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02167/0.367, allocations: 16.79 MB / 0.5616 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009252/0.3679, allocations: 19.81 kB / 0.5616 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3689, allocations: 336 kB / 0.562 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.3735, allocations: 1.502 MB / 0.5634 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006193/0.3797, allocations: 2.023 MB / 0.5654 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002738/0.3824, allocations: 1.55 MB / 0.5669 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001174/0.3836, allocations: 0.6985 MB / 0.5676 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3847, allocations: 0.7857 MB / 0.5684 GB, free: 8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.3861, allocations: 0.8644 MB / 0.5692 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.3863, allocations: 135.9 kB / 0.5693 GB, free: 7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006659/0.393, allocations: 1.806 MB / 0.5711 GB, free: 5.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004544/0.3935, allocations: 335 kB / 0.5714 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008608/0.3943, allocations: 0.6806 MB / 0.5721 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008175/0.4025, allocations: 3.444 MB / 0.5755 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4025, allocations: 0 / 0.5755 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4025, allocations: 0 / 0.5755 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.4025, allocations: 0 / 0.5755 GB, free: 0.7227 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.003801/0.4063, allocations: 1.784 MB / 0.5772 GB, free: 14.9 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.4064, allocations: 8.031 kB / 0.5772 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.531e-05/0.4064, allocations: 30.36 kB / 0.5772 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002195/0.4066, allocations: 161.1 kB / 0.5774 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.4079, allocations: 275.5 kB / 0.5776 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.4091, allocations: 0.6127 MB / 0.5782 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.4092, allocations: 142.1 kB / 0.5784 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.4094, allocations: 120 kB / 0.5785 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.4117, allocations: 1.333 MB / 0.5798 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4117, allocations: 3.938 kB / 0.5798 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.4119, allocations: 40 kB / 0.5798 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.4119, allocations: 28 kB / 0.5799 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002977/0.4149, allocations: 1.691 MB / 0.5815 GB, free: 10.37 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.007462/0.4223, allocations: 4.249 MB / 0.5857 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.426, allocations: 1.922 MB / 0.5875 GB, free: 3.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.4269, allocations: 0.526 MB / 0.5881 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006374/0.4333, allocations: 2.943 MB / 0.5909 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.4334, allocations: 39.22 kB / 0.591 GB, free: 452 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/0.4334, allocations: 0 / 0.591 GB, free: 452 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01546/0.4488, allocations: 3.451 MB / 0.5943 GB, free: 12.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.719e-05/0.4489, allocations: 60.41 kB / 0.5944 GB, free: 12.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009713/0.4499, allocations: 0.5823 MB / 0.595 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.45, allocations: 45.7 kB / 0.595 GB, free: 12.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.4505, allocations: 0.5468 MB / 0.5955 GB, free: 11.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00039/0.4508, allocations: 349 kB / 0.5959 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.4512, allocations: 230.8 kB / 0.5961 GB, free: 11.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002446/0.4515, allocations: 402.7 kB / 0.5965 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/0.4522, allocations: 354.5 kB / 0.5968 GB, free: 10.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.4533, allocations: 0.7516 MB / 0.5976 GB, free: 9.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.4552, allocations: 1.204 MB / 0.5987 GB, free: 8.051 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.4552, allocations: 4 kB / 0.5987 GB, free: 8.047 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00435/0.4596, allocations: 1.471 MB / 0.6002 GB, free: 6.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.4596, allocations: 8 kB / 0.6002 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.4596, allocations: 19.94 kB / 0.6002 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/0.4615, allocations: 245.5 kB / 0.6004 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.4631, allocations: 327.5 kB / 0.6007 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005912/0.469, allocations: 3.66 MB / 0.6043 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.4699, allocations: 43.98 kB / 0.6044 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.4701, allocations: 63.98 kB / 0.6044 GB, free: 1.977 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.0005571/0.4707, allocations: 278 kB / 0.6047 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002614/0.4709, allocations: 95.33 kB / 0.6048 GB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.4753, allocations: 1.336 MB / 0.6061 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4753, allocations: 8 kB / 0.6061 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.4753, allocations: 4 kB / 0.6061 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.4754, allocations: 3.984 kB / 0.6061 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4771, allocations: 1.037 MB / 0.6071 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4771, allocations: 0 / 0.6071 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.4784, allocations: 219.7 kB / 0.6073 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001957/0.4804, allocations: 233.7 kB / 0.6075 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.4805, allocations: 35.92 kB / 0.6076 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/0.4859, allocations: 3.557 MB / 0.611 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4859, allocations: 4.062 kB / 0.6111 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/0.4905, allocations: 1.74 MB / 0.6128 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.4908, allocations: 83.44 kB / 0.6128 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.491, allocations: 20 kB / 0.6128 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.4916, allocations: 24.06 kB / 0.6129 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.4918, allocations: 92.78 kB / 0.613 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-05/0.4919, allocations: 35.98 kB / 0.613 GB, free: 8.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005363/0.4924, allocations: 391.1 kB / 0.6134 GB, free: 8.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4924, allocations: 0 / 0.6134 GB, free: 8.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002138/0.4945, allocations: 0.6818 MB / 0.614 GB, free: 7.773 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.006621/0.5012, allocations: 3.003 MB / 0.617 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.5035, allocations: 1.196 MB / 0.6181 GB, free: 3.504 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5035, allocations: 3.938 kB / 0.6181 GB, free: 3.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001198/0.5047, allocations: 0.7019 MB / 0.6188 GB, free: 2.773 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5058, allocations: 198.3 kB / 0.619 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.5223, allocations: 8.445 MB / 0.6273 GB, free: 9.629 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.523, allocations: 1.041 MB / 0.6283 GB, free: 8.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000844/0.5239, allocations: 233.9 kB / 0.6285 GB, free: 8.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007251/0.5246, allocations: 478.2 kB / 0.629 GB, free: 7.867 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5246, allocations: 0 / 0.629 GB, free: 7.867 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07635/0.601, allocations: 33.66 MB / 0.6618 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/16.69, allocations: 15.03 kB / 0.6618 GB, free: 6.402 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.5161814969033] Failed to read output from testmodel.py, exit status != 0: 16.887485414976254 16.910965339 16.503978174 Calling exit ...