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.001338/0.001338, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001482/0.001482, allocations: 216.5 kB / 23 MB, free: 4.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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.88 MB / 337.1 MB, free: 11 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") [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.002049/0.002049, allocations: 67.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 59.87 MB / 0.5198 GB, free: 9.738 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.07669/0.3739, allocations: 30.51 MB / 0.5496 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03532/0.4093, allocations: 25.49 MB / 0.5745 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003251/0.4125, allocations: 35.75 kB / 0.5745 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.4145, allocations: 0.6239 MB / 0.5751 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006656/0.4211, allocations: 2.212 MB / 0.5773 GB, free: 14.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01127/0.4324, allocations: 3.996 MB / 0.5812 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004716/0.4371, allocations: 3.085 MB / 0.5842 GB, free: 7.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.4393, allocations: 1.616 MB / 0.5858 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.4413, allocations: 1.488 MB / 0.5872 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002394/0.4436, allocations: 1.678 MB / 0.5889 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000538/0.4442, allocations: 296 kB / 0.5891 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008327/0.4525, allocations: 3.069 MB / 0.5921 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.4535, allocations: 0.701 MB / 0.5928 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.4552, allocations: 1.214 MB / 0.594 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.4686, allocations: 6.556 MB / 0.6004 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.4686, allocations: 4 kB / 0.6004 GB, free: 7.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4686, allocations: 0 / 0.6004 GB, free: 7.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.191e-05/0.4687, allocations: 0 / 0.6004 GB, free: 7.156 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.007328/0.476, allocations: 3.319 MB / 0.6037 GB, free: 3.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.476, allocations: 8.031 kB / 0.6037 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.4786, allocations: 0.5803 MB / 0.6042 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/0.4816, allocations: 1.352 MB / 0.6055 GB, free: 1.805 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.4819, allocations: 359.2 kB / 0.6059 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.4824, allocations: 240 kB / 0.6061 GB, free: 1.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.488, allocations: 3.097 MB / 0.6091 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.488, allocations: 0 / 0.6091 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.4883, allocations: 100 kB / 0.6092 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.4883, allocations: 56 kB / 0.6093 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006151/0.4945, allocations: 3.603 MB / 0.6128 GB, free: 10.21 MB / 462.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.01725/0.5117, allocations: 8.751 MB / 0.6214 GB, free: 1.281 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.5149, allocations: 1.78 MB / 0.6231 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.5166, allocations: 1.02 MB / 0.6241 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.5287, allocations: 5.184 MB / 0.6292 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.5287, allocations: 47.88 kB / 0.6292 GB, free: 9.18 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001424/0.5301, allocations: 286.7 kB / 0.6295 GB, free: 8.898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 4.779e-06/0.5301, allocations: 4 kB / 0.6295 GB, free: 8.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.0395/0.5696, allocations: 9.526 MB / 0.6388 GB, free: 15.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.5697, allocations: 124.8 kB / 0.6389 GB, free: 15.16 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.5715, allocations: 1.424 MB / 0.6403 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002745/0.5718, allocations: 53.7 kB / 0.6403 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008827/0.5727, allocations: 1.198 MB / 0.6415 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000693/0.5734, allocations: 0.6663 MB / 0.6422 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008313/0.5742, allocations: 0.517 MB / 0.6427 GB, free: 11.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5744, allocations: 309.2 kB / 0.643 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.5761, allocations: 0.9462 MB / 0.6439 GB, free: 10 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.5787, allocations: 1.898 MB / 0.6457 GB, free: 7.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/0.5832, allocations: 3.007 MB / 0.6487 GB, free: 4.223 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/0.5833, allocations: 8 kB / 0.6487 GB, free: 4.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01159/0.5948, allocations: 3.894 MB / 0.6525 GB, free: 304 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.5949, allocations: 26.91 kB / 0.6525 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/0.5949, allocations: 28 kB / 0.6525 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006199/0.6011, allocations: 1.185 MB / 0.6537 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.6035, allocations: 0.5889 MB / 0.6543 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.6145, allocations: 7.079 MB / 0.6612 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/0.6166, allocations: 107.8 kB / 0.6613 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/0.617, allocations: 163.9 kB / 0.6614 GB, free: 6.789 MB / 0.4981 GB 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.001023/0.618, allocations: 484.9 kB / 0.6619 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004992/0.6185, allocations: 178.8 kB / 0.6621 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.6291, allocations: 3.225 MB / 0.6652 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.6291, allocations: 11.95 kB / 0.6652 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6291, allocations: 4 kB / 0.6652 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/0.6296, allocations: 162.7 kB / 0.6654 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003427/0.6299, allocations: 32 kB / 0.6654 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6311, allocations: 43.98 kB / 0.6655 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004069/0.6315, allocations: 181.6 kB / 0.6656 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007839/0.6393, allocations: 2.846 MB / 0.6684 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005553/0.6449, allocations: 3.358 MB / 0.6717 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00149/0.6464, allocations: 0.8237 MB / 0.6725 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001253/0.6476, allocations: 0.8852 MB / 0.6734 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of Backend: time 5.41e-07/0.6476, allocations: 0 / 0.6734 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00925/0.6569, allocations: 3.82 MB / 0.6771 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00654/0.6634, allocations: 4.459 MB / 0.6815 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of Templates: time 0.2907/0.9541, allocations: 58.74 MB / 0.7388 GB, free: 177.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.0624680149921915] Failed to read output from testmodel.py, exit status != 0: 0.9625492449995363 0.973282257 0.502003136 Calling exit ...