Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001434/0.001434, allocations: 96.2 kB / 19.71 MB, free: 2.121 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.001501/0.001501, allocations: 212.5 kB / 23 MB, free: 4.934 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1396/0.1396, allocations: 23.92 MB / 337.1 MB, free: 10.9 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: translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation") translateModel(Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002097/0.002097, allocations: 71.89 kB / 472.5 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 59.87 MB / 0.5198 GB, free: 9.781 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.ElectrolysisMethanation): time 0.07668/0.3748, allocations: 30.51 MB / 0.5496 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03525/0.4101, allocations: 25.49 MB / 0.5745 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.412, allocations: 35.75 kB / 0.5746 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.4141, allocations: 0.6277 MB / 0.5752 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007309/0.4214, allocations: 2.211 MB / 0.5773 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01109/0.4325, allocations: 4.004 MB / 0.5813 GB, free: 10.81 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004501/0.437, allocations: 3.081 MB / 0.5843 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002325/0.4393, allocations: 1.613 MB / 0.5858 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001987/0.4413, allocations: 1.484 MB / 0.5873 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.4436, allocations: 1.689 MB / 0.5889 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005159/0.4441, allocations: 296 kB / 0.5892 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007353/0.4515, allocations: 3.062 MB / 0.5922 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007221/0.4522, allocations: 0.6972 MB / 0.5929 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.4536, allocations: 1.214 MB / 0.5941 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.4642, allocations: 6.556 MB / 0.6005 GB, free: 7.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4642, allocations: 4 kB / 0.6005 GB, free: 7.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4643, allocations: 0 / 0.6005 GB, free: 7.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.255e-05/0.4643, allocations: 0 / 0.6005 GB, free: 7.012 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.006567/0.4708, allocations: 3.326 MB / 0.6037 GB, free: 3.633 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4709, allocations: 8.031 kB / 0.6037 GB, free: 3.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/0.4733, allocations: 0.5764 MB / 0.6043 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.476, allocations: 1.356 MB / 0.6056 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.4762, allocations: 347.3 kB / 0.606 GB, free: 1.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004315/0.4767, allocations: 247.9 kB / 0.6062 GB, free: 1.031 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.4818, allocations: 3.086 MB / 0.6092 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.4819, allocations: 0 / 0.6092 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.4821, allocations: 100 kB / 0.6093 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/0.4822, allocations: 56 kB / 0.6094 GB, free: 13.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005896/0.4881, allocations: 3.615 MB / 0.6129 GB, free: 10.06 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.01612/0.5042, allocations: 8.759 MB / 0.6214 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.5072, allocations: 1.772 MB / 0.6232 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.5088, allocations: 1.031 MB / 0.6242 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.5204, allocations: 5.169 MB / 0.6292 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.5204, allocations: 47.88 kB / 0.6293 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001317/0.5217, allocations: 290.7 kB / 0.6295 GB, free: 8.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=134): time 3.877e-06/0.5217, allocations: 0 / 0.6295 GB, free: 8.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=181): time 0.03763/0.5594, allocations: 9.53 MB / 0.6389 GB, free: 15.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.5595, allocations: 120.8 kB / 0.639 GB, free: 15.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.5612, allocations: 1.428 MB / 0.6404 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.5614, allocations: 53.7 kB / 0.6404 GB, free: 13.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009003/0.5623, allocations: 1.198 MB / 0.6416 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006127/0.5629, allocations: 0.6702 MB / 0.6422 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008348/0.5637, allocations: 0.5131 MB / 0.6427 GB, free: 11.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5638, allocations: 309.1 kB / 0.643 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001697/0.5655, allocations: 0.9423 MB / 0.644 GB, free: 9.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/0.5683, allocations: 1.906 MB / 0.6458 GB, free: 7.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/0.5729, allocations: 3.007 MB / 0.6488 GB, free: 4.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/0.5729, allocations: 8 kB / 0.6488 GB, free: 4.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=342) (initialization): time 0.01125/0.5841, allocations: 3.898 MB / 0.6526 GB, free: 144 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.5842, allocations: 20 kB / 0.6526 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-05/0.5842, allocations: 32.03 kB / 0.6526 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006052/0.5903, allocations: 1.177 MB / 0.6538 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/0.5926, allocations: 0.5811 MB / 0.6543 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.6035, allocations: 7.086 MB / 0.6613 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.6055, allocations: 115.9 kB / 0.6614 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.6058, allocations: 156 kB / 0.6615 GB, free: 6.645 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.0009738/0.6068, allocations: 488.7 kB / 0.662 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.6072, allocations: 178.8 kB / 0.6622 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.6179, allocations: 3.233 MB / 0.6653 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.618, allocations: 7.969 kB / 0.6653 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.618, allocations: 0 / 0.6653 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.6183, allocations: 158.7 kB / 0.6655 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/0.6186, allocations: 36 kB / 0.6655 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.6198, allocations: 48.09 kB / 0.6655 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.6201, allocations: 185.6 kB / 0.6657 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007667/0.6278, allocations: 2.834 MB / 0.6685 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005496/0.6333, allocations: 3.366 MB / 0.6718 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001435/0.6347, allocations: 0.8159 MB / 0.6726 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001167/0.6359, allocations: 0.893 MB / 0.6734 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of Backend: time 4.7e-07/0.6359, allocations: 4.062 kB / 0.6735 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008831/0.6447, allocations: 3.809 MB / 0.6772 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of SimCode: time 0.006375/0.6511, allocations: 4.47 MB / 0.6815 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of Templates: time 0.2808/0.9319, allocations: 58.74 MB / 0.7389 GB, free: 177.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.ElectrolysisMethanation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.910938263012213] Failed to read output from testmodel.py, exit status != 0: 0.9402031899953727 0.950887221 0.48399715000000004 Calling exit ...