Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.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: 118.8 kB / 17.16 MB, free: 5.914 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.001436/0.001436, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.465/1.465, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1369/0.1369, allocations: 23.86 MB / 333.4 MB, free: 1.215 MB / 254.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.ElectrolysisMethanation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation",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.001958/0.001958, allocations: 71.44 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1006, allocations: 59.83 MB / 0.5142 GB, free: 12.96 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.ElectrolysisMethanation): time 0.04426/0.1449, allocations: 31.71 MB / 0.5452 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03696/0.1818, allocations: 29.02 MB / 0.5735 GB, free: 148 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.1836, allocations: 39.75 kB / 0.5735 GB, free: 108 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.1855, allocations: 0.6902 MB / 0.5742 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006264/0.1918, allocations: 2.239 MB / 0.5764 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.2023, allocations: 3.949 MB / 0.5802 GB, free: 9.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004389/0.2067, allocations: 3.093 MB / 0.5833 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.2089, allocations: 1.643 MB / 0.5849 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.2107, allocations: 1.481 MB / 0.5863 GB, free: 2.898 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002367/0.213, allocations: 1.693 MB / 0.588 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004701/0.2135, allocations: 296 kB / 0.5883 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.233/0.4465, allocations: 3.18 MB / 0.5914 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009319/0.4474, allocations: 0.6927 MB / 0.592 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.4492, allocations: 1.438 MB / 0.5934 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.462, allocations: 6.572 MB / 0.5999 GB, free: 24.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.462, allocations: 0.5625 kB / 0.5999 GB, free: 24.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.462, allocations: 3.094 kB / 0.5999 GB, free: 24.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.535e-05/0.4621, allocations: 3.312 kB / 0.5999 GB, free: 24.92 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 609 * Number of variables: 609 Notification: Performance of Generate backend data structure: time 0.007782/0.4699, allocations: 3.395 MB / 0.6032 GB, free: 23.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4699, allocations: 9.969 kB / 0.6032 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.177e-05/0.47, allocations: 63.53 kB / 0.6032 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003901/0.4704, allocations: 332.6 kB / 0.6036 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002676/0.4731, allocations: 0.5801 MB / 0.6041 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002737/0.4758, allocations: 1.433 MB / 0.6055 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/0.4761, allocations: 262.2 kB / 0.6058 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004849/0.4766, allocations: 250.4 kB / 0.606 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005179/0.4818, allocations: 3.056 MB / 0.609 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.92e-05/0.4818, allocations: 0 / 0.609 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002653/0.4821, allocations: 100.7 kB / 0.6091 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.4821, allocations: 58.5 kB / 0.6092 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005157/0.4873, allocations: 3.621 MB / 0.6127 GB, free: 22.02 MB / 446.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.01415/0.5014, allocations: 10.54 MB / 0.623 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.5041, allocations: 2.154 MB / 0.6251 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.5054, allocations: 1.027 MB / 0.6261 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.5155, allocations: 8.828 MB / 0.6347 GB, free: 6.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5155, allocations: 56.97 kB / 0.6348 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001307/0.5168, allocations: 300.2 kB / 0.6351 GB, free: 5.992 MB / 446.1 MB Notification: Performance of pre-optimization done (n=134): time 3.757e-06/0.5168, allocations: 0 / 0.6351 GB, free: 5.992 MB / 446.1 MB Notification: Performance of matching and sorting (n=181): time 0.03381/0.5506, allocations: 9.773 MB / 0.6446 GB, free: 13.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.5507, allocations: 124.3 kB / 0.6447 GB, free: 13.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.5528, allocations: 1.466 MB / 0.6461 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.553, allocations: 53.7 kB / 0.6462 GB, free: 11.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008969/0.5539, allocations: 1.188 MB / 0.6474 GB, free: 10.72 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.5547, allocations: 0.6558 MB / 0.648 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008443/0.5555, allocations: 0.5196 MB / 0.6485 GB, free: 9.551 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5557, allocations: 313 kB / 0.6488 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.5574, allocations: 0.9384 MB / 0.6497 GB, free: 8.301 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.5601, allocations: 1.894 MB / 0.6516 GB, free: 6.012 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004685/0.5648, allocations: 2.995 MB / 0.6545 GB, free: 2.781 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/0.5648, allocations: 8 kB / 0.6545 GB, free: 2.773 MB / 462.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01104/0.5758, allocations: 3.886 MB / 0.6583 GB, free: 15.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.5759, allocations: 23.94 kB / 0.6583 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.476e-05/0.5759, allocations: 35.94 kB / 0.6584 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005661/0.5816, allocations: 1.174 MB / 0.6595 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.5838, allocations: 0.5795 MB / 0.6601 GB, free: 13.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.5948, allocations: 7.519 MB / 0.6674 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/0.597, allocations: 116.3 kB / 0.6675 GB, free: 5.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003131/0.5973, allocations: 163.9 kB / 0.6677 GB, free: 5.203 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (305): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,18), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/0.5983, allocations: 487.3 kB / 0.6681 GB, free: 4.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.5988, allocations: 190.8 kB / 0.6683 GB, free: 4.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01016/0.6089, allocations: 3.232 MB / 0.6715 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.609, allocations: 20 kB / 0.6715 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.609, allocations: 4 kB / 0.6715 GB, free: 1.402 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.609, allocations: 11.95 kB / 0.6715 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/0.6226, allocations: 5.428 MB / 0.6768 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.6226, allocations: 4 kB / 0.6768 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.6239, allocations: 305.4 kB / 0.6771 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005098/0.629, allocations: 1.049 MB / 0.6781 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.6293, allocations: 71.95 kB / 0.6782 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009126/0.6384, allocations: 6.809 MB / 0.6849 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.6384, allocations: 7.375 kB / 0.6849 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.6492, allocations: 4.125 MB / 0.6889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006709/0.6499, allocations: 243.9 kB / 0.6891 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.6502, allocations: 42.66 kB / 0.6892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.6513, allocations: 43.98 kB / 0.6892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/0.6518, allocations: 184 kB / 0.6894 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/0.652, allocations: 79.95 kB / 0.6895 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001342/0.6533, allocations: 0.9546 MB / 0.6904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.6533, allocations: 0 / 0.6904 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004221/0.6575, allocations: 1.266 MB / 0.6916 GB, free: 12.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (cathode.temperature,anode.temperature,solution1.temperature,H.logn,H2O.logn,CH4.logn,CO2.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 (156): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,19), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01371/0.6712, allocations: 5.897 MB / 0.6974 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006072/0.6773, allocations: 2.916 MB / 0.7002 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.6773, allocations: 4 kB / 0.7002 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/0.6804, allocations: 1.524 MB / 0.7017 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.6823, allocations: 322.5 kB / 0.702 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03934/0.7217, allocations: 19.12 MB / 0.7207 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.7229, allocations: 1.486 MB / 0.7222 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001584/0.7245, allocations: 457.7 kB / 0.7226 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/0.726, allocations: 1.01 MB / 0.7236 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.726, allocations: 0 / 0.7236 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/0.8482, allocations: 64.86 MB / 0.7869 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.47/35.32, allocations: 14.7 kB / 0.7869 GB, free: 10.82 MB / 0.5919 GB " [Timeout remaining time 624] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation_fmu --startTime=0 --stopTime=0.0001 --stepSize=4e-08 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_ClimateChange_ElectrolysisMethanation.fmu > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 38.39935100998264] Failed to read output from testmodel.py, exit status != 0: 35.537988067022525 35.562081005 35.095567104 Calling exit ...