Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.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.001402/0.001402, allocations: 108.2 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.001477/0.001477, allocations: 216 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1342/0.1342, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis") [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.002064/0.002064, allocations: 71.91 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2992, allocations: 59.86 MB / 0.5198 GB, free: 9.816 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.MethanElectrosynthesis): time 0.07453/0.3738, allocations: 29.2 MB / 0.5483 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02732/0.4011, allocations: 19.45 MB / 0.5673 GB, free: 8.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.4027, allocations: 31.75 kB / 0.5673 GB, free: 8.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.4043, allocations: 0.5369 MB / 0.5678 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004087/0.4084, allocations: 1.312 MB / 0.5691 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009067/0.4174, allocations: 3.348 MB / 0.5724 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.4211, allocations: 2.395 MB / 0.5747 GB, free: 1.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001826/0.423, allocations: 1.27 MB / 0.576 GB, free: 196 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/0.4244, allocations: 1.06 MB / 0.577 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/0.4261, allocations: 1.226 MB / 0.5782 GB, free: 13.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.4264, allocations: 232 kB / 0.5784 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005695/0.4321, allocations: 2.282 MB / 0.5807 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000614/0.4328, allocations: 0.5413 MB / 0.5812 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.434, allocations: 0.9531 MB / 0.5821 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.444, allocations: 5.023 MB / 0.587 GB, free: 4.844 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.444, allocations: 0 / 0.587 GB, free: 4.844 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.444, allocations: 3.938 kB / 0.587 GB, free: 4.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.573e-05/0.4441, allocations: 0 / 0.587 GB, free: 4.84 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.005018/0.4491, allocations: 2.651 MB / 0.5896 GB, free: 2.145 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4491, allocations: 8.031 kB / 0.5896 GB, free: 2.137 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.4511, allocations: 0.5027 MB / 0.5901 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00221/0.4533, allocations: 1.145 MB / 0.5912 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.4535, allocations: 258.9 kB / 0.5915 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003292/0.4538, allocations: 188.1 kB / 0.5917 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004574/0.4584, allocations: 2.715 MB / 0.5943 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.042e-05/0.4584, allocations: 0 / 0.5943 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/0.4586, allocations: 80 kB / 0.5944 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.4587, allocations: 44 kB / 0.5944 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.4637, allocations: 3.318 MB / 0.5977 GB, free: 9.762 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.01245/0.4762, allocations: 7.289 MB / 0.6048 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.4781, allocations: 1.108 MB / 0.6059 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009844/0.4791, allocations: 0.595 MB / 0.6064 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007825/0.4869, allocations: 3.384 MB / 0.6097 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.487, allocations: 47.16 kB / 0.6098 GB, free: 13.11 MB / 462.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008261/0.4878, allocations: 190.9 kB / 0.61 GB, free: 12.92 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 3.226e-06/0.4878, allocations: 0 / 0.61 GB, free: 12.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=115): time 0.0264/0.5142, allocations: 6.909 MB / 0.6167 GB, free: 5.957 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.821e-05/0.5143, allocations: 115.8 kB / 0.6168 GB, free: 5.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.5166, allocations: 1.835 MB / 0.6186 GB, free: 3.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001542/0.5167, allocations: 41.7 kB / 0.6187 GB, free: 3.926 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.5175, allocations: 1.053 MB / 0.6197 GB, free: 2.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/0.518, allocations: 432.4 kB / 0.6201 GB, free: 2.434 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/0.5187, allocations: 423.3 kB / 0.6205 GB, free: 2.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5188, allocations: 301.1 kB / 0.6208 GB, free: 1.715 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.5202, allocations: 0.8746 MB / 0.6217 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.5223, allocations: 1.608 MB / 0.6232 GB, free: 14.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.5257, allocations: 2.348 MB / 0.6255 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.5257, allocations: 8 kB / 0.6255 GB, free: 12.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.008148/0.5338, allocations: 3.324 MB / 0.6288 GB, free: 8.844 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.5339, allocations: 16 kB / 0.6288 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.258e-05/0.5339, allocations: 27.94 kB / 0.6288 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/0.5385, allocations: 1.03 MB / 0.6298 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.5401, allocations: 435.3 kB / 0.6302 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.5504, allocations: 7.049 MB / 0.6371 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.552, allocations: 99.91 kB / 0.6372 GB, free: 15.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.5523, allocations: 116 kB / 0.6373 GB, free: 15.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * 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 (226): * Single equations (assignments): 221 * 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 {(2,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 {(2,15), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008174/0.5531, allocations: 406.7 kB / 0.6377 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.5535, allocations: 143.1 kB / 0.6378 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006642/0.5601, allocations: 2.178 MB / 0.64 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.5601, allocations: 7.969 kB / 0.64 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5601, allocations: 0 / 0.64 GB, free: 12.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.5605, allocations: 123.1 kB / 0.6401 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.5607, allocations: 27.98 kB / 0.6401 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.5615, allocations: 35.92 kB / 0.6402 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.5617, allocations: 116.8 kB / 0.6403 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005451/0.5672, allocations: 2.071 MB / 0.6423 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003559/0.5707, allocations: 2.291 MB / 0.6445 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009148/0.5716, allocations: 0.5193 MB / 0.645 GB, free: 7.754 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00154/0.5732, allocations: 1.248 MB / 0.6463 GB, free: 6.5 MB / 494.1 MB Notification: Performance of Backend: time 3.01e-07/0.5732, allocations: 0 / 0.6463 GB, free: 6.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006978/0.5802, allocations: 3.222 MB / 0.6494 GB, free: 3.23 MB / 494.1 MB Notification: Performance of SimCode: time 0.005172/0.5853, allocations: 3.72 MB / 0.653 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.06954/0.6549, allocations: 46.02 MB / 0.698 GB, free: 1.516 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.MethanElectrosynthesis.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.255997091997415] Failed to read output from testmodel.py, exit status != 0: 0.6637028449913487 0.6782487490000001 0.23096945300000002 Calling exit ...